Example #1
0
 private void OnPause(IUIBase ui)
 {
     if (!ui.Pause)
     {
         ui.Pause = true;
         ui.OnDisableUI();
     }
 }
Example #2
0
        public void DisableUI(IUIBase uiBase)
        {
            if (uiBase == null)
            {
                throw new System.ArgumentNullException(nameof(uiBase));
            }

            uiBase.OnDisableUI();
        }