# LazyLoadReference

> Construct a new LazyLoadReference.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## LazyLoadReference(T)

Construct a new LazyLoadReference.

```csharp
public LazyLoadReference(T asset)
```

### Parameters

**** (T): The asset reference.

### Remarks

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.

## LazyLoadReference(int)

Construct a new LazyLoadReference.

```csharp
public LazyLoadReference(int instanceID)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The asset instance ID.

### Remarks

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.
