Beispiel #1
0
 void OnNewFightState(FightManager.FightState newFightState)
 {
     if (newFightState == FightManager.FightState.GameOverScreen)
     {
         animator.SetTrigger("Start");
     }
 }
Beispiel #2
0
 void OnNewFightState(FightManager.FightState newFightState)
 {
     if (newFightState == FightManager.FightState.FightVictoryScreen)
     {
         animator.SetTrigger("Start");
         waitingToStart = true;
         didStart       = false;
     }
 }
Beispiel #3
0
 void OnNewFightState(FightManager.FightState newFightState)
 {
     endTurnButton.SetActive(canShowEndTurn && newFightState == FightManager.FightState.PlayerTurnOperations);
 }