Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

OnGUI(position: Rect): void;
void OnGUI(Rect position);
def OnGUI(position as Rect) as void

Parameters

positionRectangle on the screen to use for the decorator GUI.

Description

Override this method to make your own GUI for the decorator.