UnityEngine.ContentLoadModule
The ContentLoad module implements the ContentLoadInterface class and related APIs to load data from ContentFiles.
Read time 2 minutesLast updated 3 hours ago
Definition
- Type: Module
Classes
Class | Description |
|---|---|
| ContentDirectoryDiagnostics | Describes what is loaded from a content directory, including the holds that Unity keeps on its root assets. |
| ContentDirectoryLoadInfo | What is loaded from one content directory, which of it Unity holds for the directory's root assets, and the build that produced the directory. |
| ContentLoadInterface | API Interface for loading and unloading Content files. |
| ContentLoadManager | The ContentLoadManager offers APIs for accessing content that has been built. It is primarily used to register content directories and access root content. |
| ContentLoadState | A snapshot of what is loaded from one content directory: the content files in memory, the loaded scenes, and the dependencies between them. |
| Loadable<T> | Serialized reference that loads a specific |
Structs
Struct | Description |
|---|---|
| ContentDirectoryHandle | A handle that references a registered content directory. |
| ContentFile | This struct acts like a handle for accessing a file loaded by ContentLoadInterface.LoadContentFileAsync. You can use it to access the status and results of the load operation. |
| ContentFileIdentity | Identifies a content file of a content directory build, as listed in LoadedContentFileInfo.Identity. |
| ContentFileUnloadHandle | A handle that can be used to track the progress of an unload operation. This is returned from ContentFile.UnloadAsync. |
| ContentSceneFile | The handle returned from ContentLoadInterface.LoadSceneAsync. You can use this handle to access the status and results of the load operation. |
| ContentSceneParameters | This struct collects all the ContentLoadInterface.LoadSceneAsync parameters in to a single place. |
| LoadedContentFileInfo | Describes one content file that is in memory, as listed in ContentLoadState.Files. |
| LoadedSceneInfo | Describes one scene loaded from a content directory, as listed in ContentLoadState.Scenes. |
Enums
Enum | Description |
|---|---|
| LoadableStatus | Describes the current loading phase of a Loadable<T> after Loadable<T>.Load or Loadable<T>.LoadAsync is used. |
| LoadingStatus | The loading status of a ContentFile. |
| SceneLoadingStatus | The loading status of a ContentSceneFile. This is accessed by ContentSceneFile.Status. |