Пример #1
0
 protected override void ClearOptions()
 {
     if (textBoxUIManager != null)
     {
         textBoxUIManager.InterceptActionPress();
         textBoxUIManager = null;
     }
     ClearActionButtons();
     ClearHypotheticalStatsDisplay();
     ClearAdditionalOverlays();
     ClearItemButtons();
     ClearValidItems();
     ClearSectionButtons();
     base.ClearOptions();
 }
Пример #2
0
    public void OnPressSpace(BaseEventData baseEvent)
    {
        bool intercepted = false;

        if (textBoxUIManager != null)
        {
            intercepted = textBoxUIManager.InterceptActionPress();
        }
        if (!intercepted && (textBoxManager != null))
        {
            intercepted = textBoxManager.InterceptActionPress();
        }
        if (!intercepted && (transactionBoxManager != null))
        {
            transactionBoxManager.InterceptActionPress();
        }
    }