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