Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetHeight()

Override this method to specify how tall the GUI for this decorator is in pixels.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public virtual float GetHeight()

Returns

Type

Description

float

Remarks

The default is one line high. See DecoratorDrawer for an example of how to use this.