コード例 #1
0
 public void HideUIElementIfTankActivated(NodeAddedEvent e, ActiveSelfTankNode activeSelfTank, [Combine, JoinAll] ShowWhileTankInactiveNode uiElement)
 {
     uiElement.visibilityPrerequisites.RemoveShowPrerequisite(this.TANK_INACTIVE_PREREQUISITE, false);
 }
コード例 #2
0
 public void ShowUIElementIfTabPressedInActiveState(NodeAddedEvent e, [Combine] ShowWhileTabPressedActiveStateNode uiElement, ActiveSelfTankNode activeTank)
 {
     uiElement.visibilityPrerequisites.AddShowPrerequisite(this.TAB_PRESSED_WHILE_IN_ACTIVE_STATE, true);
 }
コード例 #3
0
 public void HideUIElementIfTabUnpressedInActiveState(NodeRemoveEvent e, [Combine] ShowWhileTabPressedActiveStateNode showWhileTabPressed, ActiveSelfTankNode activeTank)
 {
     showWhileTabPressed.visibilityPrerequisites.RemoveShowPrerequisite(this.TAB_PRESSED_WHILE_IN_ACTIVE_STATE, true);
 }