|
|
◆ OnReset()
| virtual void Sisus.Init.StateMachineBehaviourInitializerBase< TStateMachineBehaviour, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument >.OnReset |
( |
ref TFirstArgument | firstArgument, |
|
|
ref TSecondArgument | secondArgument, |
|
|
ref TThirdArgument | thirdArgument, |
|
|
ref TFourthArgument | fourthArgument, |
|
|
ref TFifthArgument | fifthArgument ) |
|
protectedvirtual |
Resets the Init arguments 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
-
| firstArgument | The first argument to reset. |
| secondArgument | The second argument to reset. |
| thirdArgument | The third argument to reset. |
| fourthArgument | The fourth argument to reset. |
| fifthArgument | The fifth argument to reset. |
|