# RefreshPrototypes()

> Reloads all the values of the available prototypes (ie, detail mesh assets) in the TerrainData Object.

## Definition

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

```csharp
public void RefreshPrototypes()
```

### Remarks

This can be used in editor scripts to update the terrain when the prototype assets change, much like the Terrain > Refresh Tree and Detail Prototypes menu command.
