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

Проверено с версией:: 5

-

Сложность: Базовая

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

Базовая Tips