/// <summary> /// Draws the property. /// </summary> protected override void DrawPropertyLayout(GUIContent label) { var entry = this.ValueEntry; entry.SmartValue = SirenixEditorFields.DecimalField(label, entry.SmartValue); }
/// <summary> /// Draws the property. /// </summary> protected override void DrawPropertyLayout(IPropertyValueEntry <decimal> entry, GUIContent label) { entry.SmartValue = SirenixEditorFields.DecimalField(label, entry.SmartValue); }
protected override decimal DrawElement(Rect rect, decimal value) { return(SirenixEditorFields.DecimalField(rect.Padding(2), value)); }