文档

Unity Engine

Unity Engine

GetContentFiles(ContentNamespace)

Returns all the ContentFile handles associated with the provided ContentNamespace.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Loading
  • Assembly: UnityEngine.ContentLoadModule
public static ContentFile[] GetContentFiles(ContentNamespace nameSpace)

Parameters

The ContentNamespace used to filter the results.

Returns

Type

Description

ContentFile[]Returns an array of all the ContentFiles belonging to the ContentNamespace.

Remarks

The results will include all ContentFiles regardless of their ContentFile.LoadingStatus.