LazyLoadReference<T0>Constructor

Switch to Manual
public LazyLoadReference<T0> (T asset);
public LazyLoadReference<T0> (int instanceID);

Parameters

assetThe asset reference.
instanceIDThe asset instance ID.

Description

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.