示例#1
0
 private void OnEnterRoom(LobbyRoomItemFunction obj)
 {
     if (enterRoomAction != null)
     {
         enterRoomAction(obj);
     }
 }
示例#2
0
    private void OnEnterRoom(LobbyRoomItemFunction obj)
    {
        //TODO
        Debug.Log("OnEnterRoom");

        PhotonNetwork.LeaveLobby();
        roomInfo = (RoomInfo)obj.data;
    }
示例#3
0
    protected override void ItemAddListion(UGUIItemFunction func)
    {
        LobbyRoomItemFunction itemFunc = func as LobbyRoomItemFunction;

        itemFunc.enterRoomAction = OnEnterRoom;
    }