Table of Contents

Method Constrain

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

Constrain(SerializedProperty)

Constrains the property to be within the specified range.

protected override void Constrain(SerializedProperty property)

Parameters

property SerializedProperty

Remarks

If the property is outside the range, it is clamped to the nearest bound.