コード例 #1
0
 public void HidePopup(ButtonClickEvent e, SingleNode <EulaAgreeButton> button, [JoinAll] EulaNotificationNode notification, [JoinAll] Optional <SingleNode <EulaDialog> > popup)
 {
     if (popup.IsPresent())
     {
         popup.Get().component.HideByAcceptButton();
     }
     base.ScheduleEvent <NotificationShownEvent>(notification);
 }
コード例 #2
0
 public void Fill(NodeAddedEvent e, [Combine] EulaNotificationNode notification, SingleNode <EulaDialog> dialogNode, SingleNode <MainScreenComponent> mainScreen, [JoinAll] Optional <SingleNode <WindowsSpaceComponent> > screens)
 {
     dialogNode.component.Show(!screens.IsPresent() ? null : screens.Get().component.Animators);
 }