Esempio n. 1
0
    public void UpdateSave()
    {
        string s = PlayerPrefs.GetString("plates_" + LoginManager.player.playername, null);

        string          updateRequest = url + "/user/updateprogress?save=" + s + "&username="******"Save succeed.");
        }
        else
        {
            promtState = PromtState.error;
            PromtCanvas("Save failed.");
        }
    }
Esempio n. 2
0
 public void PromtPanel(string announce, PromtState promtState)
 {
     if (!promtPanel.activeInHierarchy)
     {
         this.promtState = promtState;
         promtPanel.SetActive(true);
         loginPanel.SetActive(false);
         registerPanel.SetActive(false);
         promtText.text = announce;
     }
 }