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