C# Class UnityContrib.UnityEditor.EditorGUIEx

Provides helper methods for working with the T:UnityEngine.GUI and T:UnityEditor.EditorGUI classes.
Afficher le fichier Open project: UnityContrib/framework Class Usage Examples

Méthodes publiques

Méthode Description
ChangeCheck ( System.Action content ) : bool

Check if any control was changed inside a block of code.

DrawRectangle ( Rect rect, Color color ) : void

Draws a rectangle at the spcified rect with the specified color.

Method Details

ChangeCheck() public static méthode

Check if any control was changed inside a block of code.
public static ChangeCheck ( System.Action content ) : bool
content System.Action /// The callback to invoke between start and end change check. ///
Résultat bool

DrawRectangle() public static méthode

Draws a rectangle at the spcified rect with the specified color.
public static DrawRectangle ( Rect rect, Color color ) : void
rect UnityEngine.Rect /// The position and size of the rectangle. ///
color Color /// The color of the rectangle. ///
Résultat void