Exemplo n.º 1
0
 public BossState(BossController.States myState, TransitionDelegate transitions, System.Action update, System.Action start)
 {
     State          = myState;
     DoesTransition = transitions;
     Update         = update;
     Start          = start;
 }
Exemplo n.º 2
0
 void bossWillBegining()
 {
     bosses[0].GetComponent<BossController>().SwitchState(BossController.States.Phase1);
     bosses[1].GetComponent<BossController>().SwitchState(BossController.States.Idle);
     currentState = BossController.States.Phase1;
 }