void ResponseCreateUser(string[] data) { ResponseCreateUser response = new ResponseCreateUser(); response.user_id = data[1]; response.user_name = data[2]; ApiClient.Instance.ResponseCreateUser(response); }
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); }
// ---------------------------------------------------- // ユーザ登録コールバック関数 // ---------------------------------------------------- public void ResponseCreateUser(ResponseCreateUser response) { // 登録後サインイン GameObject.Find("Canvas/Panel/Button_Signin").GetComponent <SignIn>().OnClick(); }