![[Custom Property Attribute]](https://assetstorev1-prd-cdn.unity3d.com/key-image/3637c97a-e29d-4924-b14f-f33ab8f2c3ab.jpg)
This asset provides ‘CustomPropertyAttributes’ that allow you to easily customize inspectors.This asset provides ‘CustomPropertyAttributes’ that allow you to easily customize inspectors. It was created to eliminate the hassle of having to write editor scripts from scratch every time you customize an inspector. We built this using Unity's ‘PropertyAttribute’ and ‘CustomPropertyDrawer’ and improved the biggest issue with ‘CustomPropertyDrawer’ which doesn't allow multiple 'PropertyAttribute's to be applied to a single field to enable free inspector customization.CustomPropertyAttributeYou can create a new ‘CustomPropertyAttribute’ by inheriting the corresponding class. The ‘Initialize’ function initializes the attribute. The ‘Preset’ function sets the state of the field, and the ‘Draw’ function draws the field.[UsingCustomProperty]Collect all ‘CustomPropertyAttribute’ declared in the field and draw the fields at once. When the Inspector is redrawn, the ‘Initialize’ function of all attributes is called once. After that, whenever a change in the Inspector is detected, the ‘Preset’ function and ‘Draw’ function are called. This improves the issue where multiple ‘PropertyAttribute’ cannot be applied to a field.