// Update is called once per frame void Update() { switch (_boss.Get_Now_Phase()) { case 1: _attack.Do_Phase1(); break; case 2: _attack.Do_Phase2(); break; } }
// Update is called once per frame void Update() { if (is_Start_Battle) { switch (_boss.Get_Now_Phase()) { case 1: _attack.Do_Phase1(); break; case 2: _attack.Do_Phase2(); break; } } }
new void Update() { base.Update(); if (state == State.battle) { switch (_boss.Get_Now_Phase()) { case 1: _attack.Do_Phase1(); break; case 2: _attack.Do_Phase2(); break; } } }