This is the old Animancer v7.4 documentation. Click here for the latest version.

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