CharacterState.

OnValidate() Method

Summary

[Editor-Only] States start disabled and only the current state gets enabled at runtime.

Syntax

protected override void OnValidate()

Remarks

Called in Edit Mode whenever this script is loaded or a value is changed in the Inspector.

Return Value

Type Description
void