Ejemplo n.º 1
0
 void Awake()
 {
     instance = this;
     RegisterPanel.SetActive(false);
     MessagePopup.SetActive(false);
     for (int i = 0; i < ContainPanels.Length; i++)
     {
         ContainPanels [i].SetActive(false);
     }
     ContainPanels [2].SetActive(true);
 }
Ejemplo n.º 2
0
 void Awake()
 {
     instance = this;
     CharacerSelectionPanel.SetActive(false);
     MessagePopup.SetActive(false);
     MessageSubPopup.SetActive(false);
     CharCam.SetActive(false);
     Constants.CharSelected = "Female";
     if (PlayerPrefs.HasKey("SelectedChar"))
     {
         Constants.CharSelected = PlayerPrefs.GetString("SelectedChar");
     }
     if (PlayerPrefs.HasKey("Username"))
     {
         Constants.Username = PlayerPrefs.GetString("Username");
     }
 }