Method Constrain
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Constrain(SerializedProperty)
Constrains the value to be non-negative.
protected override void Constrain(SerializedProperty property)
Parameters
propertySerializedPropertyThe property to constrain. Negative values are set to 0.