RootAssetReferences
For each entry of ContentLoadState.Files in ContentDirectoryLoadInfo.LoadState, how many of its LoadedContentFileInfo.ReferenceCount are holds that Unity keeps on root assets.
読み終わるまでの所要時間 1 分最終更新 4日前
Definition
- Type: Property
- Namespace: Unity.Loading
- Assembly: UnityEngine.ContentLoadModule
public List<int> RootAssetReferences { get; }
Remarks
Unity loads the root assets of a content directory when it is registered, and holds them until it is unregistered. The holds that remain once these are subtracted come from load requests made by game code.
Additional Resources: ContentLoadManager.GetRootAssets