private static void Internal_PropertyField(Rect position, ReflectedProperty property, GUIContent label, bool isHidden) { if (isHidden) { return; } if (label == null) { label = property.GUIContent; } Debug.Assert(property.Drawer != null, "property.Drawer != null"); if (!property.Drawer.IsInitialized) { property.Drawer.Initialize(); } GUI.enabled = !property.HasAttribute <ReadOnlyAttribute>(); property.Drawer.OnGUI(position, property, label); GUI.enabled = true; }
public bool HasDynamicFilterUIAttribute() { return(ReflectedProperty.HasAttribute <DynamicFilterUIHintAttribute>() && !ListFilterIndexHide()); }