/// <summary> /// ルーム情報をリクエスト /// </summary> public void OnClickRequest() { var info = new Net.MatchRoomInfo(); info.roomName = m_RoomNameInputField.text; info.password = m_PasswordInputField.text; onRequestRoomInfoEvent.SafeInvoke(info); }
/// <summary> /// ルーム入場 /// </summary> private void EnterRoom(Net.MatchRoomInfo info) { m_MatchMaker.EnterInternetMatch(info, () => { GameManager.I.ChangeState(GameState.InGame); }, () => { // do nothing }); }