public void DestroyHangarContainer(NodeRemoveEvent e, ContainersScreenNode screen, [JoinAll] ICollection <SingleNode <ContainerMarkerComponent> > containers, [JoinAll] SingleNode <HangarContainerPositionComponent> containerPosition) { if (containers.Count == 0) { containerPosition.component.transform.DestroyChildren(); } }
public void SwitchSoundListenerToLobbyState(NodeRemoveEvent evt, ContainersScreenNode screen, [JoinAll] SingleNode <SoundListenerComponent> listener) { base.ScheduleEvent <SwitchSoundListenerStateEvent <SoundListenerStates.SoundListenerLobbyState> >(listener); }
public void SwitchSoundListenerToBattleState(NodeAddedEvent evt, ContainersScreenNode screen, SingleNode <SoundListenerComponent> listener) { base.ScheduleEvent <SwitchSoundListenerStateEvent <SoundListenerStates.SoundListenerBattleState> >(listener); }