Window Class |
Namespace: Kit.UI
The Window type exposes the following members.
| Name | Description | |
|---|---|---|
| Data | Gets or sets window data. Calls Refresh when setting so the UI updates. | |
| IsBusy | Returns whether the window is showing or hiding. | |
| IsHidden | Returns whether the window is hidden. | |
| IsShown | Returns whether the window is shown. | |
| State | Current window state. |
| Name | Description | |
|---|---|---|
| Hide(WindowHideMode) | Hide the window. | |
| Hide(String, WindowHideMode) | Hide the window using a particular animation. | |
| MarkAsInstance | Mark the window as one not already in the scene. Called automatically. | |
| Refresh | Method that gets called when Data is updated. Child classes should override this method and update the UI here. | |
| Show(Object) | Show the window. | |
| Show(String, Object) | Show the window using a particular animation. |
| Name | Description | |
|---|---|---|
| Hidden | Stuff to do when the screen has hidden. | |
| HideAnimation | The animation state to play when hiding the screen. | |
| HideSound | The audio to play when hiding. | |
| Hiding | Stuff to do when hiding the screen. | |
| ShowAnimation | The animation state to play when showing the screen. | |
| Showing | Stuff to do when showing the screen. | |
| Shown | Stuff to do when the screen has shown. | |
| ShowSound | The audio to play when showing. | |
| Track | Whether to track the Window in UIManager. |
| Name | Description | |
|---|---|---|
| Destroy | Destroy the object. (Defined by UnityObjectExtensions.) | |
| Disable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| Enable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| GetBounds | Returns the bounds of the Component. | |
| IsPrefab | Returns whether the Component is a part of a prefab. (Defined by ComponentExtensions.) |