C# Class UnityEditor.DecoratorDrawer

Base class to derive custom decorator drawers from.

Inheritance: GUIDrawer
Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
GetHeight ( ) : float

Override this method to specify how tall the GUI for this decorator is in pixels.

OnGUI ( Rect position ) : void

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

Protected Methods

Method Description
DecoratorDrawer ( ) : System

Method Details

DecoratorDrawer() protected method

protected DecoratorDrawer ( ) : System
return System

GetHeight() public method

Override this method to specify how tall the GUI for this decorator is in pixels.

public GetHeight ( ) : float
return float

OnGUI() public method

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

public OnGUI ( Rect position ) : void
position UnityEngine.Rect Rectangle on the screen to use for the decorator GUI.
return void