Method GetSceneFileValue
GetSceneFileValue(UntypedWeakReferenceId)
The scene file. This is needed to integrate when the scene is loaded with the autoIntegrate value set to false.
Declaration
[ExcludeFromBurstCompatTesting("References managed engine API and static data")]
[Obsolete("This property is no longer valid.  The scene file does not exist in all cases (e.g. play mode).")]
public static ContentSceneFile GetSceneFileValue(UntypedWeakReferenceId sceneId)
Parameters
| Type | Name | Description | 
|---|---|---|
| UntypedWeakReferenceId | sceneId | The runtime id of the scene.  | 
    
Returns
| Type | Description | 
|---|---|
| ContentSceneFile | The scene file. If the scene is not loaded, the returned scene will be invalid.  |