示例#1
0
        /// <summary>
        /// ルーム情報をリクエスト
        /// </summary>
        public void OnClickRequest()
        {
            var info = new Net.MatchRoomInfo();

            info.roomName = m_RoomNameInputField.text;
            info.password = m_PasswordInputField.text;
            onRequestRoomInfoEvent.SafeInvoke(info);
        }
示例#2
0
 /// <summary>
 /// ルーム入場
 /// </summary>
 private void EnterRoom(Net.MatchRoomInfo info)
 {
     m_MatchMaker.EnterInternetMatch(info,
                                     () => {
         GameManager.I.ChangeState(GameState.InGame);
     },
                                     () => {
         // do nothing
     });
 }