StateBehaviour.

OnValidate() Method

Summary

[Editor-Only] States start disabled and only the current state gets enabled at runtime.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
StateBehaviour

Syntax

protected virtual 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