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); }
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); }