# Instantiate()

> Implement this method to provide custom type instantiation for the container type.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.0/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

```csharp
protected virtual TContainer Instantiate()
```

### Returns

| Type | Description |
| ---- | ----------- |
| T    |             |

### Remarks

You MUST also override [PropertyBag\<TContainer>.InstantiationKind](/engine/6000.0/script-reference/unity/properties/propertybag1/instantiationkind.md) to return `ConstructionType.PropertyBagOverride` for this method to be called.
