public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { TagSelectorAttribute attribute = this.attribute as TagSelectorAttribute; if (attribute.useDefaultDrawer) { EditorGUI.PropertyField(position, property); } else { EditorGUIExt.TagSelector(position, property, label); } }