Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

DecoratorDrawer.GetHeight

public float GetHeight();

Description

Override this method to specify how tall the GUI for this decorator is in pixels.

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