// public void HideAllPanel() { AlbumPanel.Hide(); ZodiacPanel.Hide(); ConstitutionPanel.Hide(); FormPanel.Hide(); LobbyPanel.Hide(); }
private void create() { Instantiate(PrefEventSystem); _canvas = Instantiate(PrefCanvas); _lobbyPanel = Instantiate(PrefLobbyPanel); _lobbyPanel.transform.SetParent(_canvas.transform, false); _formPanel = Instantiate(PrefFormPanel); _formPanel.transform.SetParent(_canvas.transform, false); _constitutionPanel = Instantiate(PrefConstitutionPanel); _constitutionPanel.transform.SetParent(_canvas.transform, false); _zodiacPanel = Instantiate(PrefZodiacPanel); _zodiacPanel.transform.SetParent(_canvas.transform, false); _albumPanel = Instantiate(PrefAlbumPanel); _albumPanel.transform.SetParent(_canvas.transform, false); }