Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

DecoratorDrawer.OnGUI

public void OnGUI(Rect position);

Parameters

positionRectangle on the screen to use for the decorator GUI.

Description

Override this method to make your own GUI for the decorator. See DecoratorDrawer for an example of how to use this.

Did you find this page useful? Please give it a rating: