文档

Unity Engine

Unity Engine

Load(string, Type)

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

Definition

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

Parameters

path

Path to the target resource to load.

systemTypeInstance

The requested asset's Type.

Returns

Type

Description

ObjectThe requested asset returned as an Object.