Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LoadAsync(string, Type)

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

Definition

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

Parameters

path

Path to the target resource to load.

systemTypeInstance

Type filter for objects returned.

Returns

Type

Description

ResourceRequestA ResourceRequest from which you can retrieve the asset once the load operation completes.

Remarks

Note: AssetBundleRequest inherits from ResourceRequest and can also be returned here.