Documentation

Unity Engine

Unity Engine

IsSelectedObjectTerrain()

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

Definition

public static bool IsSelectedObjectTerrain()

Returns

Type

Description

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