文档

Unity Engine

Unity Engine

AddTreeInstance(TreeInstance)

Adds a tree instance to the terrain.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public void AddTreeInstance(TreeInstance instance)

Parameters

instance

The tree instance to add.