Editor Script to render the Inspector for SceneController.
More...
|
| VisualElement | CreateSceneListBox (SerializedProperty sceneListProperty, string labelValue) |
| | Creates a box that shows a list of scenes that can be added, removed, and reordered.
|
| VisualElement | CreateLoadedSceneListBox () |
| | Creates a box that shows a list of currently loaded scenes.
|
| VisualElement | CreateOptionsBox () |
| | Creates the Options Box.
|
| void | OnActiveSceneChanged (Scene oldScene, Scene newScene) |
| | Called when the Active Scene is changed, update the list of scenes.
|
| void | OnThreadPriorityChanged (ChangeEvent< string > evt) |
| | Called when changing the Thread Proiority Dropdown menu.
|
| void | OnSceneButtonClick (ClickEvent evt) |
| | Called when clicking on the small button next to the Scene's name.
|
| void | OnToggleInGameUI (ChangeEvent< bool > evt) |
| | Called when clicking the "Show In-Game UI" Toggle.
|
| void | OnClickBakeLightmaps (ClickEvent evt) |
| | Called when clicking on the "Bake Lightmaps" button.
|
| void | OnClickButtonHelp (ClickEvent evt) |
| | Called when clicking on the "?" button next to the Thread Priority Dropdown.
|
| void | UnloadScene (string sceneName) |
| | Unload a Scene using EditorSceneManager in Edit Mode or SceneManager at runtime.
|
| void | LoadScene (string sceneName) |
| | Load a Scene using EditorSceneManager in Edit Mode or SceneManager at runtime.
|
Editor Script to render the Inspector for SceneController.
◆ CreateLoadedSceneListBox()
| VisualElement CreateLoadedSceneListBox |
( |
| ) |
|
|
private |
Creates a box that shows a list of currently loaded scenes.
- Returns
- Returns the box VisualElement.
◆ CreateOptionsBox()
| VisualElement CreateOptionsBox |
( |
| ) |
|
|
private |
Creates the Options Box.
- Returns
- Returns the box VisualElement.
◆ CreateSceneListBox()
| VisualElement CreateSceneListBox |
( |
SerializedProperty | sceneListProperty, |
|
|
string | labelValue ) |
|
private |
Creates a box that shows a list of scenes that can be added, removed, and reordered.
- Parameters
-
| sceneListProperty | List of AdditiveScene to display. |
| labelValue | Label for the Box. |
- Returns
- Returns the box VisualElement.
◆ LoadScene()
| void LoadScene |
( |
string | sceneName | ) |
|
|
private |
Load a Scene using EditorSceneManager in Edit Mode or SceneManager at runtime.
- Parameters
-
| sceneName | The name of the Scene. |
◆ OnActiveSceneChanged()
| void OnActiveSceneChanged |
( |
Scene | oldScene, |
|
|
Scene | newScene ) |
|
private |
Called when the Active Scene is changed, update the list of scenes.
◆ OnClickBakeLightmaps()
| void OnClickBakeLightmaps |
( |
ClickEvent | evt | ) |
|
|
private |
Called when clicking on the "Bake Lightmaps" button.
◆ OnClickButtonHelp()
| void OnClickButtonHelp |
( |
ClickEvent | evt | ) |
|
|
private |
Called when clicking on the "?" button next to the Thread Priority Dropdown.
◆ OnSceneButtonClick()
| void OnSceneButtonClick |
( |
ClickEvent | evt | ) |
|
|
private |
Called when clicking on the small button next to the Scene's name.
◆ OnThreadPriorityChanged()
| void OnThreadPriorityChanged |
( |
ChangeEvent< string > | evt | ) |
|
|
private |
Called when changing the Thread Proiority Dropdown menu.
◆ OnToggleInGameUI()
| void OnToggleInGameUI |
( |
ChangeEvent< bool > | evt | ) |
|
|
private |
Called when clicking the "Show In-Game UI" Toggle.
◆ UnloadScene()
| void UnloadScene |
( |
string | sceneName | ) |
|
|
private |
Unload a Scene using EditorSceneManager in Edit Mode or SceneManager at runtime.
- Parameters
-
| sceneName | The name of the Scene. |
◆ dropdownThreadPriority
| DropdownField dropdownThreadPriority |
|
private |
Dropdown Field for setting the ThreadPriority of Application.backgroundLoadingPriority.
◆ helpboxThreadPriority
| HelpBox helpboxThreadPriority |
|
private |
The Helpbox displayed when clicking the "?" Button next to the ThreadPriority Dropdown.
◆ listViewLoadedScenes
| ListView listViewLoadedScenes |
|
private |
The ListView Element that renders the loadedScenes list.
◆ loadedScenesProp
| SerializedProperty loadedScenesProp |
|
private |
◆ settingsObject
| SerializedObject settingsObject |
|
private |
The documentation for this class was generated from the following file: