Version: 2022.2
public static ContentFile[] GetContentFiles (Unity.Content.ContentNamespace nameSpace);

参数

nameSpace The ContentNamespace used to filter the results.

返回

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

描述

Returns all the ContentFile handles associated with the provided ContentNamespace.

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