Esempio n. 1
0
 public void logout()
 {
     this.clearCOOKIE();
     player = new PlayerInfoPHOTON();
     player.initAsGuest();
     this.output.GetComponent <UILabel>().text = "Welcome," + player.name;
 }
Esempio n. 2
0
 private void Start()
 {
     if (player == null)
     {
         player = new PlayerInfoPHOTON();
         player.initAsGuest();
     }
     if (playerName != string.Empty)
     {
         NGUITools.SetActive(this.panelLogin, false);
         NGUITools.SetActive(this.panelStatus, true);
         base.StartCoroutine(this.getInfo());
     }
     else
     {
         this.output.GetComponent <UILabel>().text = "Welcome," + player.name;
     }
 }
Esempio n. 3
0
 public void logout()
 {
     this.clearCOOKIE();
     player = new PlayerInfoPHOTON();
     player.initAsGuest();
 }