Documentation

Unity Engine

Download Unity

Unity Engine

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.

Properties

Property

Description

DependencyCountThe number of entries in ContentLoadState.Dependencies, from LoadedContentFileInfo.DependencyStartIndex, that list the files this file depends on.
DependencyStartIndexThe index in ContentLoadState.Dependencies of the first file that this file depends on.
IdentityIdentifies the content file.
ReferenceCountThe number of load requests that hold the file.
StatusWhether the file is loading, has loaded, or failed to load.