public void SetDefaultText(DelayedSetTopPanelTextEvent e, ActiveScreenNode screen, [JoinAll, Mandatory] TopPanelNode topPanel) { if (string.IsNullOrEmpty(topPanel.topPanel.NewHeader)) { topPanel.topPanel.SetHeaderTextImmediately(screen.battleSelectScreenHeaderText.HeaderText); } }
public void ActivateTopPanelItems(NodeAddedEvent e, ActiveScreenNode screen, SingleNode <CommonScreenElementsComponent> topPanel) { topPanel.component.ActivateItems(screen.screen.VisibleCommonScreenElements); }
public void SendEnterScreen(NodeAddedEvent e, ActiveScreenNode screen, [JoinAll] ClientSessionNode clientSession) { base.ScheduleEvent(new EnterScreenEvent(screen.screen.gameObject.name), clientSession); }
public void ShowBackground(NodeAddedEvent e, ActiveScreenNode screen, [JoinAll] SingleNode <BackgroundComponent> background) { background.component.Show(); }