public void LeaveBattleLobby(NodeRemoveEvent e, BattleLobbyNode lobby, [JoinAll] LobbyUINode lobbyUI)
 {
     MainScreenComponent.Instance.ShowHome();
 }
 public void ShowBattleLobby(NodeAddedEvent e, BattleLobbyNode lobby)
 {
     MainScreenComponent.Instance.ShowHome();
     MainScreenComponent.Instance.ShowScreen(MainScreenComponent.MainScreens.MatchLobby, true);
 }
Esempio n. 3
0
 public void PlayLobbySound(NodeAddedEvent e, SelfUserInMatchMakingLobby user, [Context, JoinByBattleLobby] BattleLobbyNode battleLobby, [JoinAll] SingleNode <MainScreenComponent> mainScreen, [JoinAll] SingleNode <HangarMatchLobbySoundComponent> hangar)
 {
     hangar.component.Play();
 }