IsSelectedObjectTerrain()
Checks whether the current selected object is a Terrain object.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public static bool IsSelectedObjectTerrain()
Returns
Type | Description |
|---|---|
| bool | Returns true if the current selected object is of type Terrain. |