Table of Contents

Method IsValid

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

IsValid(SerializedProperty)

Checks if the property is not negative.

public override bool IsValid(SerializedProperty property)

Parameters

property SerializedProperty

The property to check.

Returns

bool

true if the value is valid; otherwise, false.

Remarks

If the property type is not supported by this attribute, this method should return true.

This method is only available in the editor, and therefor subclasses should shield their implementations accordingly.