06. Attributes No Comments

Makes target field or property be shown as a slider in the inspector.

This is just like Unity’s built-in Range attribute except that it supports targeting of properties in addition to fields.

PRange(float minValue, float maxValue)

Makes target class member be shown as a slider that allows adjusting value between given minimum and maximum values.

Attribute Target

Field or property.