CreateLoadableSceneId
Create a LoadableSceneId object based using a scene's GUID.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
CreateLoadableSceneId(GUID)
Create a LoadableSceneId object based using a scene's GUID.
public static LoadableSceneId CreateLoadableSceneId(GUID guid)
Parameters
Returns
Type | Description |
|---|---|
| LoadableSceneId | A LoadableSceneId handle populated to reference the provided scene. |
CreateLoadableSceneId(string)
Create a LoadableSceneId object based on a scene's path.
public static LoadableSceneId CreateLoadableSceneId(string scenePath)
Parameters
The scene's path within the project. Must end with .unity extension.
Returns
Type | Description |
|---|---|
| LoadableSceneId | A LoadableSceneId handle populated to reference the provided scene. |