| Parameter | Description |
|---|---|
| contentDirectory | Content directory handle to unregister |
Remove access to content that had been loaded from a content directory.
Before calling this, release everything that was loaded from the content directory. Release each
Loadable<T0> with Loadable<T0>.Release, and unload each scene that was loaded from a
LoadableSceneId. Use SceneManager.GetSceneByLoadableSceneId to get the
loaded scene and unload it through the SceneManager API.
For content directories registered in Play mode, call this before exiting Play mode.