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

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

Vérifié avec version: 5

-

Difficulté: Débutant

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)]

Débutant Tips