LoadedContentFileInfo
Describes one content file that is in memory, as listed in ContentLoadState.Files.
Read time 1 minuteLast updated a day ago
Definition
- Type: Struct
- Namespace: Unity.Loading
- Assembly: UnityEngine.ContentLoadModule
public readonly struct LoadedContentFileInfo
Remarks
The list includes files that no load request holds. A file whose LoadedContentFileInfo.ReferenceCount is 0 is in memory because a listed file or scene depends on it, or because it is being released.
Additional Resources: ContentDirectoryDiagnostics.GetContentDirectoryLoadInfo
Properties
Property | Description |
|---|---|
| DependencyCount | The number of entries in ContentLoadState.Dependencies, from LoadedContentFileInfo.DependencyStartIndex, that list the files this file depends on. |
| DependencyStartIndex | The index in ContentLoadState.Dependencies of the first file that this file depends on. |
| Identity | Identifies the content file. |
| ReferenceCount | The number of load requests that hold the file. |
| Status | Whether the file is loading, has loaded, or failed to load. |