Click or drag to resize

UIManager Class

Global access to UI and window management. Your screens need to derive from Window which you can then show by calling Show(Window, Object, Transform, String, WindowConflictMode) on prefabs.

You can you also call Show(Object)/Hide(WindowHideMode) on them directly if they are in the scene, for example.

Inheritance Hierarchy
SystemObject
  KitUIManager

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static class UIManager
Request Example View Source

The UIManager type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberFirst
Returns the first window shown, or if none are.
Public propertyStatic memberLast
Returns the last window shown, or if none are.
Top
Methods
Events
  NameDescription
Public eventStatic memberHidden
Event that's called when any window is hidden.
Public eventStatic memberHiding
Event that's called when any window is hiding.
Public eventStatic memberShowing
Event that's called when any window is showing.
Public eventStatic memberShown
Event that's called when any window is shown.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultConflictMode
Default conflict mode to use in calls.
Public fieldStatic memberDefaultHideMode
Default hide mode to use in calls.
Public fieldStatic memberWindowCanvasOrder
The sort order of the Canvas that's used for newly-created windows.
Public fieldStatic memberWindows
List of all shown/showing windows.
Top
See Also

Reference