kevincastejon / Unity-MoreAttributes

A set of custom attributes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More Attributes

A set of custom attributes with various functionalities.
They are all standalone and can be imported and used separately.

See online documentation

Get it on the Asset Store

Get the Unity package

See my other Unity packages

Custom attributes list :

  • 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).

About

A set of custom attributes

License:MIT License


Languages

Language:C# 100.0%