IAsyncScene
Fields
loaderDescription: Loader that will be used.
Methods
SetSceneLoader(ISceneLoader sceneLoader)Description: Updates the
ISceneLoaderused internally.Parameters:
sceneLoader: The new scene loader.
SceneWillUnloadAsyncDescription: Called before the scene will be unloaded.
Returns: A task representing the asynchronous unload operation.
LoadAsync(bool setActive)Description: Loads the scene asynchronously and optionally sets it as the active scene.
Parameters:
setActive: Iftrue, sets the loaded scene as active.
Returns: A task representing the asynchronous load operation. The result contains the bootstrap instance for the loaded scene.
UnloadAsyncDescription: Unloads the scene asynchronously.
Returns: A task representing the asynchronous unload operation.
Properties
sceneTypeDescription: Gets the type identifier of the scene.
associatedSceneDescription: Gets the associated Unity scene.
Last updated