C# Class UnityEditor.DecoratorDrawer

Base class to derive custom decorator drawers from.

Inheritance: GUIDrawer
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
DecoratorDrawer ( ) : System

Method Details

DecoratorDrawer() protected méthode

protected DecoratorDrawer ( ) : System
Résultat System

GetHeight() public méthode

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

public GetHeight ( ) : float
Résultat float

OnGUI() public méthode

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.
Résultat void