Esempio n. 1
0
 /// <summary>
 /// Draws the property.
 /// </summary>
 protected override void DrawPropertyLayout(GUIContent label)
 {
     this.ValueEntry.SmartValue = SirenixEditorFields.DelayedFloatField(label, this.ValueEntry.SmartValue, GUILayoutOptions.MinWidth(0));
 }
Esempio n. 2
0
 /// <summary>
 /// Draws the property.
 /// </summary>
 protected override void DrawPropertyLayout(IPropertyValueEntry <float> entry, DelayedAttribute attribute, GUIContent label)
 {
     entry.SmartValue = SirenixEditorFields.DelayedFloatField(label, entry.SmartValue);
 }