기술 자료

Unity Engine

Download Unity

Unity Engine

activeTerrain

The active Terrain. This is a convenient function to get to the main Terrain in the Scene.
읽는 시간 1분최근 업데이트: 7시간 전

Definition

public static Terrain activeTerrain { get; }

Remarks

If you have multiple active Terrains, this returns only one of them. If you need all the terrains in the scene, use Terrain.activeTerrains instead. A terrain is active when the component that represents it is enabled and the GameObject it is on is active.