Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Load(string, Type)

Override for customizing the behavior of the Resources.Load function.
Read time 1 minuteLast updated 5 days ago

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.