![]() |
Init(args)
Scripting Reference
|
◆ Init()
Provides the StateMachineBehaviour with the object that it depends on. You can think of the Init method as a parameterized constructor alternative for the StateMachineBehaviour. Init is called at the beginning of the Awake event function when the script is being loaded, before OnAwake, OnEnable and Start.
Implements Sisus.Init.IInitializable< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument >. |