文档

Unity Engine

Download Unity

Unity Engine

Dependencies

Indices into ContentLoadState.Files, in one range for each file and each scene.
阅读时间1 分钟最后更新于 4 天前

Definition

  • Type: Property
  • Namespace: Unity.Loading
  • Assembly: UnityEngine.ContentLoadModule
public List<int> Dependencies { get; }

Remarks

LoadedContentFileInfo.DependencyStartIndex and LoadedContentFileInfo.DependencyCount give the range of a file, and LoadedSceneInfo.DependencyStartIndex and LoadedSceneInfo.DependencyCount the range of a scene. A range lists only the files that the file or scene references directly. Follow the ranges of those files to find the rest.