public void Execute() { lock (lockObj) { if (hasNewData) { if (lobbyUiContext.hasMatchSearchDataForMenu) { lobbyUiContext.RemoveMatchSearchDataForMenu(); } lobbyUiContext.SetMatchSearchDataForMenu(numberOfPlayersInBattles, numberOfPlayersInQueue); hasNewData = false; } } }
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(); }