LoadableSceneIdToScene(LoadableSceneId)
Resolves the Scene asset referenced by a LoadableSceneId.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static SceneAsset LoadableSceneIdToScene(LoadableSceneId loadableSceneId)
Parameters
The LoadableSceneId to resolve.
Returns
Type | Description |
|---|---|
| SceneAsset | The Scene asset, or null if the id is invalid or the asset is missing. |