hos to make slider in editor unity
[Range(0, 100)]
public float NameHere;
hos to make slider in editor unity
[Range(0, 100)]
public float NameHere;
unity inspector sliders
public class Example : MonoBehaviour
{
// This integer will be shown as a slider,
// with the range of 1 to 6 in the Inspector
[Range(1, 6)]
public int integerRange;
// This float will be shown as a slider,
// with the range of 0.2f to 0.8f in the Inspector
[Range(0.2f, 0.8f)]
public float floatRange;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us