Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnGUI(Rect)

Override this method to make your own GUI for the decorator. See DecoratorDrawer for an example of how to use this.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public virtual void OnGUI(Rect position)

Parameters

position

Rectangle on the screen to use for the decorator GUI.