Method LoadSceneAsync
LoadSceneAsync(UntypedWeakReferenceId, ContentSceneParameters)
Loads a GameObject based scene.
Declaration
[ExcludeFromBurstCompatTesting("References managed engine API and static data")]
public static Scene LoadSceneAsync(UntypedWeakReferenceId sceneId, ContentSceneParameters loadParams)
Parameters
| Type | Name | Description | 
|---|---|---|
| UntypedWeakReferenceId | sceneId | The runtime id of the scene.  | 
    
| ContentSceneParameters | loadParams | Parameters to control how the scene is loaded.  | 
    
Returns
| Type | Description | 
|---|---|
| Scene | The scene that was requested to load. This scene may not be loaded at this point.  |