예제 #1
0
 public void Execute()
 {
     lock (lockObj)
     {
         if (hasNewData)
         {
             if (lobbyUiContext.hasMatchSearchDataForMenu)
             {
                 lobbyUiContext.RemoveMatchSearchDataForMenu();
             }
             lobbyUiContext.SetMatchSearchDataForMenu(numberOfPlayersInBattles, numberOfPlayersInQueue);
             hasNewData = false;
         }
     }
 }
예제 #2
0
        protected override void Execute(List <LobbyUiEntity> entities)
        {
            if (lobbyUiContext.hasStartButtonClicked)
            {
                lobbyUiContext.RemoveStartButtonClicked();
            }

            battleLoadingMenu.SetActive(false);
            matchSearchCanvas.SetActive(false);
            overlayCanvas.SetActive(true);
            gameViewsRoot.SetActive(true);


            if (lobbyUiContext.hasMatchSearchDataForMenu)
            {
                lobbyUiContext.RemoveMatchSearchDataForMenu();
            }

            lobbySoundsManager.PlayStop();
        }