Class SubScene
A component representing a subscene reference.
Inherited Members
Namespace: Unity.Scenes
Assembly: solution.dll
Syntax
[ExecuteAlways]
[DisallowMultipleComponent]
public class SubScene : MonoBehaviour
Remarks
Subscenes are SceneAssets which are loaded on demand by the SubScene component.
Fields
| Name | Description |
|---|---|
| AutoLoadScene | Set when the scene should load. |
Properties
| Name | Description |
|---|---|
| AllSubScenes | The list of loaded sub scenes. |
| EditableScenePath | Represents the path of the SceneAsset. |
| EditingScene | Represents the editing scene. |
| HierarchyColor | Represents the color of the Hierarchy panel. |
| IsLoaded | Returns whether the subscene is open for editing. |
| SceneAsset | Represents the scene asset. |
| SceneGUID | Represents the GUID of the SceneAsset. |
| SceneName | Represents the scene name. |