Table of Contents

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

property SerializedProperty

The property to constrain. Negative values are set to 0.