• Tutorials
  • Tips
  • Show public variables as Sliders with [Range(min, max)]

Show public variables as Sliders with [Range(min, max)]

Geprüft mit Version: 5

-

Schwierigkeitsgrad: Anfänger

Exposing a float variable in the Inspector for tweaking? Add a Range declaration above your variable in your script and you can instantly turn your public variable into a slider.

Show public variables as Sliders with [Range(min, max)]

Anfänger Tips