SceneDirector Class |
Namespace: Kit
The SceneDirector type exposes the following members.
| Name | Description | |
|---|---|---|
| ActiveName | Name of the active scene. | |
| ActiveScene | Reference to the active scene. |
| Name | Description | |
|---|---|---|
| Fade | Fade the screen. Can be await-ed upon. | |
| FadeIn | Fade in the screen. Can be await-ed upon. | |
| FadeOut | Fade out the screen. Can be await-ed upon. | |
| IsScene | Returns whether the active scene is a particular one. | |
| LoadScene | Load a scene. Can be await-ed upon. | |
| ReloadScene | Reload the active scene. Can be await-ed upon. |
| Name | Description | |
|---|---|---|
| Faded | Event that gets called when the scene has faded (in or out). | |
| FadedIn | Event that gets called when the scene has faded in. | |
| FadedOut | Event that gets called when the scene has faded out. | |
| Fading | Event that gets called when the scene is fading (in or out). | |
| FadingIn | Event that gets called when the scene starts fading in. | |
| FadingOut | Event that gets called when the scene starts fading out. | |
| SceneChanged | Event that gets called when the scene has changed. | |
| SceneChanging | Event that gets called when the scene starts changing. |
| Name | Description | |
|---|---|---|
| DefaultFadeColor | Default fade color to use in calls. | |
| DefaultFadeMode | Default fade mode to use in calls. | |
| DefaultFadeTime | Default fade time to use in calls. | |
| FadeCanvasOrder | The sort order of the Canvas that's used for fading. |