文档

Unity Engine

Unity Engine

LoadAll(string, Type)

Override for customizing the behavior of the Resources.LoadAll function.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
protected virtual Object[] LoadAll(string path, Type systemTypeInstance)

Parameters

path

Path to the target resource to load.

systemTypeInstance

Type filter for objects returned.

Returns

Type

Description

Object[]An array of all the loaded objects at the specified path that match the specified type.