Documentation

Unity Engine

Download Unity

Unity Engine

Dependencies

Indices into ContentLoadState.Files, in one range for each file and each scene.
Read time 1 minuteLast updated a day ago

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.