Class GameUI
- Namespace
- Zorro.UI
- Assembly
- Zorro.UI.Runtime.dll
public class GameUI : Singleton<GameUI>
- Inheritance
-
GameUI
- Inherited Members
-
- Extension Methods
-
Constructors
GameUI()
Fields
OpenSystems
public List<GameUISystem> OpenSystems
Field Value
- List<GameUISystem>
overlayUI
public OverlayUIHandler overlayUI
Field Value
- OverlayUIHandler
Methods
Awake()
protected override void Awake()
public static bool EscapeMenuOpen()
Returns
- bool
GetUISystems()
public Dictionary<Type, GameUISystem> GetUISystems()
Returns
- Dictionary<Type, GameUISystem>
Hide(Type)
public static void Hide(Type type)
Parameters
type
Type
Hide<T>()
public static void Hide<T>() where T : GameUISystem
Type Parameters
T
NeedsCursor()
public static bool NeedsCursor()
Returns
- bool
RegisterSystem(GameUISystem)
public static void RegisterSystem(GameUISystem system)
Parameters
system
GameUISystem
RunUICode<T>(Action<T>)
public static void RunUICode<T>(Action<T> codeAction) where T : GameUISystem
Parameters
codeAction
Action<T>
Type Parameters
T
SetFadeVisibility(bool)
public static void SetFadeVisibility(bool show)
Parameters
show
bool
protected virtual bool ShouldAttemptOpenMenu()
Returns
- bool
ShowUI(Type)
public static void ShowUI(Type systemType)
Parameters
systemType
Type
ShowUI<T>()
public static void ShowUI<T>() where T : GameUISystem
Type Parameters
T
ShowUI<T>(Action<T>)
public static void ShowUI<T>(Action<T> codeAction) where T : GameUISystem
Parameters
codeAction
Action<T>
Type Parameters
T
UnregisterSystem(GameUISystem)
public static void UnregisterSystem(GameUISystem system)
Parameters
system
GameUISystem