Version: 2020.1

Terrain.activeTerrain

切换到手册
public static Terrain activeTerrain ;

描述

The active Terrain. This is a convenient function to get to the main Terrain in the Scene.

If you have multiple active Terrain, avoid using this property, and use Terrain.activeTerrains instead.