Class SceneSystem
High level API for loading and unloading scenes
Inherited Members
Namespace: Unity.Scenes
Syntax
[ExecuteAlways]
[UpdateInGroup(typeof(SceneSystemGroup))]
public class SceneSystem : ComponentSystemProperties
| Name | Description | 
|---|---|
| BuildConfigurationGUID | 
Methods
| Name | Description | 
|---|---|
| GetSceneEntity(Hash128) | Find the scene given a guid. This will only return the first matching scene. | 
| GetSceneGUID(String) | Get the guid for a scene path or name. This is a slow method - it is best to use the guid directly. | 
| IsSceneLoaded(Entity) | Check if a scene or subscene is loaded. | 
| IsSectionLoaded(Entity) | Check if a section of a subscene is loaded. | 
| LoadPrefabAsync(EntityPrefabReference, SceneSystem.LoadParameters) | Load a prefab by its weak reference id. A PrefabRoot component is added to the returned entity when the load completes. | 
| LoadSceneAsync(Entity, SceneSystem.LoadParameters) | |
| LoadSceneAsync(Hash128, SceneSystem.LoadParameters) | Load a scene or prefab by its asset GUID. When loading a prefab a PrefabRoot component is added to the scene entity when the load completes. | 
| LoadSceneAsync(EntitySceneReference, SceneSystem.LoadParameters) | Load a scene by its weak reference id. | 
| OnCreate() | |
| OnUpdate() | |
| UnloadScene(Entity, SceneSystem.UnloadParameters) | Unload the scene. | 
| UnloadScene(Hash128, SceneSystem.UnloadParameters) | Unload a SubScene by GUID. This will only unload the first matching scene. |