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