Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ OnReset()

virtual void Sisus.Init.StateMachineBehaviourInitializerBase< TStateMachineBehaviour, TArgument >.OnReset ( ref TArgument argument)
protectedvirtual

Resets the Init argument to their default values.

OnReset is called when the user hits the Reset button in the Inspector's context menu or when adding the initializer to an Animator the first time.

This function is only called in the editor in edit mode.

Parameters
argumentThe argument to reset.