Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsSelectedObjectTerrain()

Checks whether the current selected object is a Terrain object.
Read time 1 minuteLast updated 10 days ago

Definition

public static bool IsSelectedObjectTerrain()

Returns

Type

Description

boolReturns true if the current selected object is of type Terrain.