public void LoadFbUser() { UserName.text = data.Name; StartCoroutine(DownloadImage(data.Photo_url, PicPanel)); StartCoroutine(DownloadImage(data.Photo_url, AccountBtnIcon)); LoginPanel.SetActive(false); ShowPP.SetActive(true); FBLogoutButton.SetActive(true); }
public void LoadAnonymousUser() { UserName.text = "Guest" + data.ID.Substring(1, 6); AccountBtnIcon.texture = AnonyIcon.texture; PicPanel.texture = AnonyIcon.texture; ShowPP.SetActive(true); LoginPanel.SetActive(false); AnonyLogoutButton.SetActive(true); }