C# Class AngleDrawer, property-drawer-collection

Inheritance: UnityEditor.PropertyDrawer
Afficher le fichier Open project: anchan828/property-drawer-collection

Private Properties

Свойство Type Description
Knob float

Méthodes publiques

Méthode Description
GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void

Private Methods

Méthode Description
Knob ( Rect position, Vector2 knobSize, float currentValue, float start, float end, string unit, Color backgroundColor, Color activeColor, bool showValue ) : float

Method Details

GetPropertyHeight() public méthode

public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty
label GUIContent
Résultat float

OnGUI() public méthode

public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
position Rect
property UnityEditor.SerializedProperty
label GUIContent
Résultat void