DirectionalCharacter.

OnValidate() Method

Summary

[Editor-Only] Sets the character's starting sprite in Edit Mode so you can see it while working in the scene.
Assembly
Animancer.dll
Namespace
Animancer.Samples.Sprites
Containing Type
DirectionalCharacter

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