示例#1
0
        protected void PhotonSystemOnJoinedRoomHandler(uFrame.ECS.OnJoinedRoomDispatcher data, LobbyButton source)
        {
            var handler = PhotonSystemOnJoinedRoomHandlerInstance;

            handler.System = this;
            handler.Event  = data;
            handler.Source = source;
            StartCoroutine(handler.Execute());
        }
示例#2
0
        protected void PhotonSystemOnJoinedRoomFilter(uFrame.ECS.OnJoinedRoomDispatcher data)
        {
            var SourceLobbyButton = LobbyButtonManager[data.EntityId];

            if (SourceLobbyButton == null)
            {
                return;
            }
            this.PhotonSystemOnJoinedRoomHandler(data, SourceLobbyButton);
        }