public void HideUIElementIfTankActivated(NodeAddedEvent e, ActiveSelfTankNode activeSelfTank, [Combine, JoinAll] ShowWhileTankInactiveNode uiElement) { uiElement.visibilityPrerequisites.RemoveShowPrerequisite(this.TANK_INACTIVE_PREREQUISITE, false); }
public void ShowUIElementIfTabPressedInActiveState(NodeAddedEvent e, [Combine] ShowWhileTabPressedActiveStateNode uiElement, ActiveSelfTankNode activeTank) { uiElement.visibilityPrerequisites.AddShowPrerequisite(this.TAB_PRESSED_WHILE_IN_ACTIVE_STATE, true); }
public void HideUIElementIfTabUnpressedInActiveState(NodeRemoveEvent e, [Combine] ShowWhileTabPressedActiveStateNode showWhileTabPressed, ActiveSelfTankNode activeTank) { showWhileTabPressed.visibilityPrerequisites.RemoveShowPrerequisite(this.TAB_PRESSED_WHILE_IN_ACTIVE_STATE, true); }