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

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

        itemFunc.enterRoomAction = OnEnterRoom;
    }