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