Exemple #1
0
 public void logout()
 {
     this.clearCOOKIE();
     player = new PlayerInfoPHOTON();
     player.initAsGuest();
     this.output.GetComponent <UILabel>().text = "Welcome," + player.name;
 }
Exemple #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;
     }
 }
Exemple #3
0
 public void logout()
 {
     this.clearCOOKIE();
     player = new PlayerInfoPHOTON();
     player.initAsGuest();
 }