Classes | |
class | HistoryItem |
class | Settings |
Static Public Member Functions | |
static bool | IsUIHovered () |
Determines if is user interface hovered. More... | |
static void | ApplyToSettings (Camera camera) |
Applies settings file (or default) to camera. More... | |
static void | ApplyToSettings (Canvas canvas) |
Applies settings file (or default) to canvas. More... | |
static void | AddToHistory (WindowBase window) |
Adds to history. More... | |
static void | RefreshHistory () |
Refreshes the history. More... | |
static WindowBase | GetPreviousWindow (WindowBase current) |
Gets the last window in history with the Shown state. More... | |
static void | ShowDefault (params object[] parameters) |
Shows the default list windows. More... | |
static void | HideAllAndClean (WindowBase except=null, System.Action callback=null) |
Hides all and clean. More... | |
static void | HideAllAndClean (List< WindowBase > except, System.Action callback=null) |
Hides all and clean. More... | |
static void | Clean (WindowBase except=null) |
Clean the specified except. More... | |
static void | Clean (List< WindowBase > except) |
Clean the specified except. More... | |
static void | HideAll (WindowBase except=null, System.Action callback=null) |
Hides all. More... | |
static void | HideAll (List< WindowBase > except, System.Action callback) |
Hides all. More... | |
static T | Create< T > (params object[] parameters) |
Create the specified parameters. More... | |
static T | Show< T > (params object[] parameters) |
Shows window of T type. More... | |
static T | Show< T > (T source, params object[] parameters) |
Shows window of T type. More... | |
static float | GetDepthStep () |
Gets the depth step. More... | |
Public Attributes | |
Settings | settings = new Settings() |
List< WindowBase > | defaults = new List<WindowBase>() |
Default windows list. More... | |
List< WindowBase > | windows = new List<WindowBase>() |
All registered windows. More... | |
List< WindowBase > | currentWindows = new List<WindowBase>() |
List< HistoryItem > | history = new List<HistoryItem>() |
The history of windows. More... | |
Protected Member Functions | |
virtual void | Init () |
Init this instance. More... | |
|
static |
Adds to history.
window | Window. |
|
static |
Applies settings file (or default) to camera.
camera | Camera. |
|
static |
Applies settings file (or default) to canvas.
canvas | Canvas. |
|
static |
Clean the specified except.
except | Except. |
|
static |
Clean the specified except.
except | Except. |
|
static |
Create the specified parameters.
parameters | Parameters. |
T | The 1st type parameter. |
T | : | WindowBase |
|
static |
Gets the depth step.
|
static |
Gets the last window in history with the Shown
state.
current | Current. |
|
static |
Hides all.
except | Except. |
callback | Callback. |
|
static |
Hides all.
except | Except. |
callback | Callback. |
|
static |
Hides all and clean.
except | Except. |
callback | Callback. |
|
static |
Hides all and clean.
except | Except. |
callback | Callback. |
|
protectedvirtual |
Init this instance.
Reimplemented in UnityEngine.UI.Windows.WindowSystemPlatforms, and UnityEngine.UI.Windows.WindowSystemFlow.
|
static |
Determines if is user interface hovered.
true
if is user interface hovered; otherwise, false
.
|
static |
Refreshes the history.
|
static |
Shows window of T type.
Returns null if window not registered.
parameters | OnParametersPass() values. |
T | The 1st type parameter. |
T | : | WindowBase |
|
static |
Shows window of T type.
Returns null if window not registered.
source | Source. |
parameters | OnParametersPass() values. |
T | The 1st type parameter. |
T | : | WindowBase |
|
static |
Shows the default list windows.
parameters | Parameters. |
List<WindowBase> UnityEngine.UI.Windows.WindowSystem.currentWindows = new List<WindowBase>() |
List<WindowBase> UnityEngine.UI.Windows.WindowSystem.defaults = new List<WindowBase>() |
Default windows list.
Use WindowSystem.ShowDefault() to show them.
List<HistoryItem> UnityEngine.UI.Windows.WindowSystem.history = new List<HistoryItem>() |
The history of windows.
List<WindowBase> UnityEngine.UI.Windows.WindowSystem.windows = new List<WindowBase>() |
All registered windows.
If you want to use WindowSystem.Show<T>() you must register window here.