文档

Unity Engine

Unity Engine

FindObjectsOfTypeAll(Type)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
protected virtual Object[] FindObjectsOfTypeAll(Type systemTypeInstance)

Parameters

systemTypeInstance

The type of objects to find.

Returns

Type

Description

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