This class facilitates an easy way of switching between different windows. Use UIWindow.Show(panel) to show a window and UIWindow.GoBack() to go back to the previous one.
More...
|
| static void | Add (UIPanel window) |
| | Ensure that the specified window has been added to the list. More...
|
| |
| static void | Show (UIPanel window) |
| | Show the specified window. More...
|
| |
| static void | Hide (UIPanel window) |
| | Hide the specified window, but only if the window is currently visible. If it's not, do nothing. More...
|
| |
| static void | GoBack () |
| | Return to the previous window. More...
|
| |
| static void | Close () |
| | Hide the current window and clear the history. More...
|
| |
| static void | Close (GameObject go) |
| | Hide the current window and clear the history. More...
|
| |
| static void | Close (UIPanel panel) |
| | Hide the current window and clear the history. More...
|
| |
This class facilitates an easy way of switching between different windows. Use UIWindow.Show(panel) to show a window and UIWindow.GoBack() to go back to the previous one.
| static void UIWindow.Add |
( |
UIPanel |
window | ) |
|
|
static |
Ensure that the specified window has been added to the list.
| static void UIWindow.Close |
( |
| ) |
|
|
static |
Hide the current window and clear the history.
| static void UIWindow.Close |
( |
GameObject |
go | ) |
|
|
static |
Hide the current window and clear the history.
| static void UIWindow.Close |
( |
UIPanel |
panel | ) |
|
|
static |
Hide the current window and clear the history.
| static void UIWindow.GoBack |
( |
| ) |
|
|
static |
Return to the previous window.
| static void UIWindow.Hide |
( |
UIPanel |
window | ) |
|
|
static |
Hide the specified window, but only if the window is currently visible. If it's not, do nothing.
| static void UIWindow.Show |
( |
UIPanel |
window | ) |
|
|
static |
Show the specified window.
| AudioClip UIWindow.hideSound |
|
static |
Sound to play when hiding any window.
| AudioClip UIWindow.showSound |
|
static |
Sound to play when showing any window.
Currently visible window.
The documentation for this class was generated from the following file: