Version: 2022.3

LazyLoadReference<T0>Constructor

切换到手册
public LazyLoadReference<T0> (T asset);
public LazyLoadReference<T0> (int instanceID);

参数

asset The asset reference.
instanceID The asset instance ID.

描述

Construct a new LazyLoadReference.

Note that the signature which takes an asset reference may trigger loading the referenced object into memory if the object is not already loaded. The signature which takes an instance ID will never triggers a load.