Density of detail objects.
function Start () { Terrain.activeTerrain.detailObjectDensity = 0.5; }
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Start() { Terrain.activeTerrain.detailObjectDensity = 0.5F; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Start() as void: Terrain.activeTerrain.detailObjectDensity = 0.5F