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