Exemplo n.º 1
0
 void OnDestroy()
 {
     if (stateMachine != null)
     {
         stateMachine.Destroy();
         stateMachine = null;
     }
 }
Exemplo n.º 2
0
 void Start()
 {
     stateMachine = new BrynhildrStateMachine(this);
 }