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

            entry.SmartValue = SirenixEditorFields.GuidField(label, entry.SmartValue);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Draws the property.
 /// </summary>
 protected override void DrawPropertyLayout(IPropertyValueEntry <Guid> entry, GUIContent label)
 {
     entry.SmartValue = SirenixEditorFields.GuidField(label, entry.SmartValue);
 }