Documentation

Unity Engine

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 a month ago

Definition

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

Parameters

position

Rectangle on the screen to use for the decorator GUI.