Exemple #1
0
        void ResponseCreateUser(string[] data)
        {
            ResponseCreateUser response = new ResponseCreateUser();

            response.user_id   = data[1];
            response.user_name = data[2];
            ApiClient.Instance.ResponseCreateUser(response);
        }
Exemple #2
0
 public void ResponseCreateUser(ResponseCreateUser response)
 {
     Debug.Log("Create User: " + response.name);
 }
 /// <summary>
 /// 新規ユーザを作成のレスポンス処理
 /// </summary>
 /// <param name="response"></param>
 public void ResponseCreateUser(ResponseCreateUser response)
 {
     PlayerPrefs.SetString(NetWorkKey.USER_ID, response.user_id);
     PlayerPrefs.SetString(NetWorkKey.USER_NAME, response.user_name);
     SceneManagers.SceneLoad(SceneManagers.SceneName.Title);
 }
Exemple #4
0
 // ----------------------------------------------------
 // ユーザ登録コールバック関数
 // ----------------------------------------------------
 public void ResponseCreateUser(ResponseCreateUser response)
 {
     // 登録後サインイン
     GameObject.Find("Canvas/Panel/Button_Signin").GetComponent <SignIn>().OnClick();
 }