Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LoadableSceneIdToScene(LoadableSceneId)

Resolves the Scene asset referenced by a LoadableSceneId.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static SceneAsset LoadableSceneIdToScene(LoadableSceneId loadableSceneId)

Parameters

loadableSceneId

The LoadableSceneId to resolve.

Returns

Type

Description

SceneAssetThe Scene asset, or null if the id is invalid or the asset is missing.