Method GetSceneValue
GetSceneValue(UntypedWeakReferenceId)
The loaded scene value.
Declaration
[ExcludeFromBurstCompatTesting("References managed engine API and static data")]
[Obsolete("This property is no longer valid.  Use the scene returned from LoadAsync.")]
public static Scene GetSceneValue(UntypedWeakReferenceId sceneId)
Parameters
| Type | Name | Description | 
|---|---|---|
| UntypedWeakReferenceId | sceneId | The runtime id of the scene.  | 
    
Returns
| Type | Description | 
|---|---|
| Scene | The scene. If the scene is not loaded, the returned scene will be invalid.  |