Editor Script to render the Inspector for AdditiveSceneTrigger.
More...
|
| VisualElement | CreateSceneListBox () |
| | Creates a box that contains the list of Visible Scenes.
|
| void | OnItemIndexChanged (int oldIndex, int newIndex) |
| | Ensure that this trigger's scene always stays at index 0 in the list.
|
Editor Script to render the Inspector for AdditiveSceneTrigger.
◆ CreateSceneListBox()
| VisualElement CreateSceneListBox |
( |
| ) |
|
|
private |
Creates a box that contains the list of Visible Scenes.
- Returns
- The box VisualElement.
◆ OnItemIndexChanged()
| void OnItemIndexChanged |
( |
int | oldIndex, |
|
|
int | newIndex ) |
|
private |
Ensure that this trigger's scene always stays at index 0 in the list.
If Scene 0 gets reordered, put it right back at 0.
- Parameters
-
| oldIndex | The scene's old index in the list. |
| newIndex | The scene's new index in the list. |
◆ additiveSceneTrigger
◆ listViewVisibleScenes
| ListView listViewVisibleScenes |
|
private |
◆ visibleScenesProp
| SerializedProperty visibleScenesProp |
|
private |
The documentation for this class was generated from the following file: