コード例 #1
0
 public void Antebellum(InputAction.CallbackContext obj)
 {
     if (canAntebellum)
     {
         canAntebellum = false;
         //Passe en Antebellum
         activeState = GameState.Antebellum;
         onStateChange.Invoke(GameState.Antebellum);
         DoorBehaviour.DoorClose();
         //Compte à rebours avant la partie Bellum
         StartCoroutine(CountdownAntebellum());
     }
 }