Class SubScene
A component representing a subscene reference.
Inherited Members
Component.GetComponentIndex()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
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. |