Method UnloadScene
UnloadScene(ref Scene)
Release a scene. If the reference count goes to zero, the scene will be unloaded.
Declaration
[ExcludeFromBurstCompatTesting("References managed engine API and static data")]
public static void UnloadScene(ref Scene scene)
Parameters
Type | Name | Description |
---|---|---|
Scene | scene | The scene to release. |