SceneManagerExt.Unload Method
Creates an awaitable task that asynchronously unloads a scene.
Namespace: UltimateXR.Extensions.Unity
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static Task Unload(
string sceneName,
CancellationToken ct = default
)
Parameters
- sceneName
- Type: System.String
Scene to unload - ct (Optional)
- Type: System.Threading.CancellationToken
Optional cancellation token, to cancel the task
Return Value
Type: Task
Awaitable task