LazyLoadReference<T0> Constructor

Declaration

public LazyLoadReference<T0>(T asset);

Declaration

public LazyLoadReference<T0>(int instanceID);

Parameters

asset The asset reference.
instanceID The 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.


Did you find this page useful? Please give it a rating: