ドキュメント

Unity Engine

Unity Engine

RefreshPrototypes()

Reloads all the values of the available prototypes (ie, detail mesh assets) in the TerrainData Object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
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.