示例#1
0
 public void OnLogin(bool _success, string _message)
 {
     if (_success)
     {
         Debug.Log("YOU JUST LOGED ING SUCCESFULLY WOOOOO, HELLO " + _message);
         PanelLogin.SetActive(false);
         PanelForm.SetActive(false);
         PanelLogedIn.SetActive(true);
         welcome.text = "Welcome " + PlayerPrefs.GetString("username") + "!";
     }
     else
     {
         Debug.Log("WTF ERROR: " + _message);
         error.text = _message;
     }
 }
示例#2
0
 public void SetLoginPanel(PanelLogin panelLogin)
 {
     _panelLogin = panelLogin;
 }
示例#3
0
 void Start()
 {
     majPanel();
     _instance = this;
     Keyboard.loadConfiguration();
 }