protected override double DrawElement(Rect rect, double value)
 {
     return(SirenixEditorFields.DoubleField(rect.Padding(2), value));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Draws the property.
 /// </summary>
 protected override void DrawPropertyLayout(IPropertyValueEntry <double> entry, GUIContent label)
 {
     entry.SmartValue = SirenixEditorFields.DoubleField(label, entry.SmartValue);
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Draws the property.
        /// </summary>
        protected override void DrawPropertyLayout(GUIContent label)
        {
            var entry = this.ValueEntry;

            entry.SmartValue = SirenixEditorFields.DoubleField(label, entry.SmartValue);
        }