예제 #1
0
 //
 public void HideAllPanel()
 {
     AlbumPanel.Hide();
     ZodiacPanel.Hide();
     ConstitutionPanel.Hide();
     FormPanel.Hide();
     LobbyPanel.Hide();
 }
예제 #2
0
    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);
    }