public void ResponseCreatePlayerEntry(ResponseCreatePlayerEntry response) { PlayerSession.room_id = response.room_id; PlayerSession.player_entry_id = response.player_entry_id; PlayerSession.is_owner = false; Debug.Log("Player \"" + PlayerSession.name + "\" Entry to room number \"" + response.room_id + "\""); SceneManager.LoadScene("battle_scene"); }
public void ResponseCreatePlayerEntry(ResponseCreatePlayerEntry response) { // 情報保持 UserInfo.room_id = response.room_id; UserInfo.player_entory_id = response.player_entry_id; UserInfo.flg_spectator = false; // Gameシーン切り替え SceneManager.LoadScene("GameScene"); }