Version: 2023.2

BrushesOverlay

class in UnityEditor.TerrainTools

切换到手册

描述

Contains functions that help display Terrain Tools overlays.

This class contains static functions to determine whether terrain tool overlays should be visible.

静态变量

ActiveTerrainToolThe current active terrain tool, if the terrain tool inherits from TerrainEditorPaintToolBase.

静态函数

IsSelectedObjectTerrainChecks whether the current selected object is a Terrain object.