Ejemplo n.º 1
0
 public void OpenWindow(Windown windown)
 {
     foreach (Windown w in Windows)
     {
         if (w.type == windown.type)
         {
             windown.Open();
         }
         else
         {
             Debug.Log("Close");
             w.Close();
         }
     }
 }
Ejemplo n.º 2
0
 public void OpenGameOver()
 {
     Over_game.Open();
     Result_game.Close();
 }