A set of custom attributes
A set of custom attributes with various functionalities.
They are all standalone and can be imported and used separately.
LabelPlus
Custom Inspector property label that allows using an icon, a custom label text and a custom label color.
HeaderPlus
Custom Inspector property header that allows using an icon, a custom header label text and a custom header label color.
ReadOnlyProp
Prevents a property from being edited on the Inspector.
ReadOnlyOnPlay
Prevents a property from being edited on the Inspector in PlayMode. The behaviour can be inverted so the property is editable only in PlayMode.
ReadOnlyOnPrefab
Prevents a property from being edited on the Inspector in PrefabMode. The behaviour can be inverted so the property is editable only in PrefabMode.
HideOnPlay
Hides the property in PlayMode. The behaviour can be inverted with the ‘invert’ parameter so the property is visible only in PlayMode.
HideOnPrefab
Hides the property in PrefabMode. The behaviour can be inverted with the ‘invert’ parameter so the property is visible only in PrefabMode.
ShowPropIf
Shows or hides a property on the inspector based on another serialized bool property value.
ShowPropConditional
Shows or hides a property based on a bool method.
Tag
Displays a dropdown list of available Tags (must be used with a ‘string’ typed property).
Layer
Displays a dropdown list of available Layers (must be used with a ‘int’ typed property).
It offers a single layer selection instead of the multiple LayerMask selection.
Scene
Displays a dropdown list of available build settings Scenes (must be used with a ‘string’ typed property).