IAsyncScene
Fields
loader
Description: Loader that will be used.
Methods
SetSceneLoader(ISceneLoader sceneLoader)
Description: Updates the
ISceneLoader
used internally.Parameters:
sceneLoader
: The new scene loader.
SceneWillUnloadAsync
Description: 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.
UnloadAsync
Description: Unloads the scene asynchronously.
Returns: A task representing the asynchronous unload operation.
Properties
sceneType
Description: Gets the type identifier of the scene.
associatedScene
Description: Gets the associated Unity scene.
Last updated