UnityEngine.ContentLoadModule
The ContentLoad module implements the ContentLoadInterface class and related APIs to load data from ContentFiles.
읽는 시간 1분최근 업데이트: 2시간 전
Definition
- Type: Module
Classes
Class | Description |
|---|---|
| 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. |
| 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. |
| 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. |
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. |