EditorAttributes
Changelogs
EditorAttributes v3.0.4 Changelog:
EditorAttributes v3.0.3 Changelog:
EditorAttributes v3.0.2 Changelog:
EditorAttributes v3.0.1 Changelog:
EditorAttributes v3.0.0 Changelog:
EditorAttributes v2.9.2 Changelog:
EditorAttributes v2.9.1 Changelog:
EditorAttributes v2.9.0 Changelog:
EditorAttributes v2.8.0 Changelog:
EditorAttributes v2.7.2 Changelog:
EditorAttributes v2.7.1 Changelog:
EditorAttributes v2.7.0 Changelog:
EditorAttributes v2.6.1 Changelog:
EditorAttributes v2.6.0 Changelog:
EditorAttributes v2.5.4 Changelog:
EditorAttributes v2.5.3 Changelog:
EditorAttributes v2.5.2 Changelog:
EditorAttributes v2.5.1 Changelog:
EditorAttributes v2.5.0 Changelog:
EditorAttributes v2.4.1 Changelog:
EditorAttributes v2.4.0 Changelog:
EditorAttributes v2.3.0 Changelog:
EditorAttributes v2.2.0 Changelog:
EditorAttributes v2.1.1 Changelog:
EditorAttributes v2.1.0 Changelog:
EditorAttributes v2.0.0 Changelog:
EditorAttributes v1.9.0 Changelog:
EditorAttributes v1.8.1 Changelog:
EditorAttributes v1.8.0 Changelog:
EditorAttributes v1.7.0 Changelog:
EditorAttributes v1.6.1 Changelog:
EditorAttributes v1.6.0 Changelog:
EditorAttributes v1.5.0 Changelog:
EditorAttributes v1.4.0 Changelog:
EditorAttributes v1.3.0 Changelog:
EditorAttributes v1.2.1 Changelog:
EditorAttributes v1.2.0 Changelog:
EditorAttributes v1.1.1 Changelog:
EditorAttributes v1.1.0 Changelog:
EditorAttributes v1.0.0 Changelog:
Getting Started
Installation
Via GitHub
Via AssetStore
Updating
How To Use
Importing The Namespace
Serialization
Attribute Order
Finding members
Good Practices
Using the void struct
Managing multiple attributes
Using the nameof expression
Void Struct
EditorAttributes Settings
Disable Editor Extension
Disable Build Validation
Asset Preview Load Time
Custom Unit Definitions
Delete Buttons Parameter Data
FAQ & Common Issues
Common Issues
Frequently Asked Questions
Attributes
Conditional Attributes
EnableField Attribute
DisableField Attribute
ShowField Attribute
HideField Attribute
ConditionalField Attribute
MessageBox Attribute
Numerical Attributes
Clamp Attribute
Wrap Attribute
MinMaxSlider Attribute
ProgressBar Attribute
UnitField Attribute
DrawHandle Attribute
Button Attributes
Button Attribute
ButtonField Attribute
InlineButton Attribute
ValueButtons Attribute
Dropdown Attributes
Dropdown Attribute
SceneDropdown Attribute
TagDropdown Attribute
TypeDropdown Attribute
SortingLayerDropdown Attribute
LayerDropdown Attribute
AnimatorParamDropdown Attribute
PropertyDropdown Attribute
Grouping Attributes
DataTable Attribute
FoldoutGroup Attribute
ToggleGroup Attribute
HorizontalGroup Attribute
VerticalGroup Attribute
TabGroup Attribute
Decorative Attributes
Suffix Attribute
Prefix Attribute
Title Attribute
GUIColor Attribute
ColorField Attribute
ApplyMaterial Attribute
Line Attribute
Image Attribute
AssetPreview Attribute
HelpBox Attribute
HideLabel Attribute
Rename Attribute
PropertyOrder Attribute
PropertyWidth Attribute
IndentProperty Attribute
Miscellaneous Attributes
ReadOnly Attribute
Required Attribute
Validate Attribute
FilePath Attribute
FolderPath Attribute
TypeFilter Attribute
CollectionRange Attribute
HideProperty Attribute
HideInChildren Attribute
ShowInInspector Attribute
DisableInPlayMode Attribute
DisableInEditMode Attribute
HideInPlayMode Attribute
HideInEditMode Attribute
OnValueChanged Attribute
Scripting API
EditorExtension
Fields
DEFAULT_GLOBAL_COLOR
GLOBAL_COLOR
Methods
OnEnable()
OnDisable()
CreateInspectorGUI()
DrawDefaultInspector()
DrawNonSerializedMembers()
DrawButtons()
EditorValidation
Properties
callbackOrder
Methods
OnPreprocessBuild(BuildReport)
ValidateAll()
ValidateAllScenes()
ValidateOpenScenes()
ValidateAllAssets()
Validate(Object, ref int, ref int)
IsPackageAsset(string)
PropertyDrawerBase
Properties
CanApplyGlobalColor
Methods
CreatePropertyGUI(SerializedProperty)
CopyValue(VisualElement, SerializedProperty)
PasteValue(VisualElement, SerializedProperty, string)
IsSupportedPropertyType(SerializedProperty)
CreatePropertyField(SerializedProperty)
SetProperyValueFromString(string, SerializedProperty)
GetPropertyValueAsString(SerializedProperty)
FindNestedProperty(SerializedProperty, string)
GetCollectionProperty(SerializedProperty)
GetSerializedPropertyName(string, SerializedProperty)
IsPropertyEnumFlag()
GetCollectionElementIndex(SerializedProperty)
DisplayErrorBox(VisualElement, HelpBox)
UpdateVisualElement(VisualElement, Action, long)
AddElement(VisualElement, VisualElement)
RemoveElement(VisualElement, VisualElement)
GetConditionValue(MemberInfo, IConditionalAttribute, SerializedProperty, HelpBox)
GetDynamicString(string, SerializedProperty, IDynamicStringAttribute, HelpBox)
AddPropertyContextMenu(VisualElement, SerializedProperty)
InvokeFunctionOnAllTargets(Object[], string, object[], bool)
ApplyBoxStyle(VisualElement)
CopyStyle(VisualElement, VisualElement)
CreateFieldForType<T>(string, object, bool)
CreateFieldForType(Type, string, object, bool)
RegisterValueChangedCallbackByType<T>(VisualElement, Action<object>)
RegisterValueChangedCallbackByType(Type, VisualElement, Action<object>)
GetFieldLabel(VisualElement)
GetFieldValue(VisualElement)
SetFieldValue(VisualElement, object, bool)
BindFieldToMember<T>(VisualElement, MemberInfo, object)
BindFieldToMember(Type, VisualElement, MemberInfo, object)
Print(object)
IsCollectionValid(ICollection)
CollectionDisplayDrawer
Fields
nullList
Methods
CreateDropdownField(List<string>, SerializedProperty)
SetDropdownDefaultValue(List<string>, SerializedProperty)
SetPropertyValueFromDropdown(SerializedProperty, DropdownField)
SetDropdownValueFromProperty(SerializedProperty, DropdownField)
GetDisplayValues(MemberInfo, IDisplayNamesAttribute, SerializedProperty, List<string>)
IsCollectionDictionary(MemberInfo, SerializedProperty, out IDictionary)
ConvertCollectionValuesToStrings(string, SerializedProperty, MemberInfo, HelpBox)
GroupDrawer
Methods
CreateGroupProperty(string, SerializedProperty)
ReflectionUtils
Fields
BINDING_FLAGS
Methods
FindField(string, SerializedProperty)
FindProperty(string, SerializedProperty)
FindFunction(string, SerializedProperty)
FindMember(string, Type, BindingFlags, MemberTypes)
GetStaticMemberInfoFromPath(string, MemberTypes)
TryGetField(string, Type, BindingFlags, out FieldInfo)
TryGetProperty(string, Type, BindingFlags, out PropertyInfo)
TryGetMethod(string, Type, BindingFlags, out MethodInfo)
IsTypeCollection(Type)
HasAnyAttributes(MemberInfo, params Type[])
GetValidMemberInfo(string, SerializedProperty)
GetNestedObjectType(SerializedProperty, out object)
GetMemberInfoType(MemberInfo)
GetMemberInfoValue(MemberInfo, SerializedProperty, params object[])
ColorUtils
Methods
ApplyColor(VisualElement, IColorAttribute, HelpBox)
ApplyColor(VisualElement, Color, int)
GetColorFromProperty(SerializedProperty)
GetColorFromAttribute(IColorAttribute, HelpBox)
GetColorFromAttribute(IColorAttribute, float, HelpBox)
ColorAttributeToColor(IColorAttribute)
ColorAttributeToColor(IColorAttribute, float)
GUIColorToColor(GUIColor)
GUIColorToColor(GUIColor, float)
VectorUtils
Methods
AddVector(Vector3, float)
SubtractVector(Vector3, float)
Vector3IntToVector2Int(Vector3Int)
Vector2IntToVector2(Vector2Int)
Vector2ToVector2Int(Vector3Int)
Vector3ToVector3Int(Vector3)
ParseVector2(string)
ParseVector2Int(string)
ParseVector3(string)
ParseVector3Int(string)
ParseVector4(string)
UnityTypeConverter
Methods
CanConvert(Type)
ReadJson(JsonReader, Type, object?, JsonSerializer)
WriteJson(JsonWriter, object?, JsonSerializer)
Void
SimpleTransform
Fields
position
rotation
scale
Properties
QuaternionRotation
Constructors
SimpleTransform(Vector3, Vector3, Vector3)
SimpleTransform(Vector3, Quaternion, Vector3)
SimpleTransform(Transform)
Operators
implicit operator SimpleTransform(Transform)
Methods
ToString()
ToTransform(Transform)
ToLocalTransform(Transform)
ValidationCheck
Properties
ValidationMessage
PassedCheck
KillBuild
Severety
Methods
Fail(string, MessageMode, bool)
Pass()
EditorAttributes
Index
Index