Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TerrainLayerInspector

The default Inspector class for Terrain Layer.
Read time 5 minutesLast updated 5 days ago

Definition

[CustomEditor(typeof(TerrainLayer))]public sealed class TerrainLayerInspector : Editor

Remarks

Call Editor.CreateEditor with a TerrainLayer object to construct a TerrainLayerInspector object.
Additional Resources: TerrainLayer.

Methods

Method

Description

ApplyCustomUIApplies the custom UI for the Terrain Layer object.
HasPreviewGUIReturns
true
if the Terrain Layer has a preview GUI.
OnInspectorGUIDraws the default Terrain Layer Inspector GUI.
OnPreviewGUIDraws the default Terrain Layer preview GUI.
RenderStaticPreviewDraws the default Terrain Layer static preview.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.