Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

DecoratorDrawer.OnGUI

Switch to Manual
public void OnGUI(Rect position);

Parameters

position Rectangle on the screen to use for the decorator GUI.

Description

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