CharacterState.

OnValidate() Method

Summary

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

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