Unity-MoreAttributes

A set of custom attributes


Project maintained by kevincastejon Hosted on GitHub Pages — Theme by mattgraham

ReadOnly

Prevents a property from being edited on the Inspector.

How to use

Put the attribute in front of a property.

Examples

[ReadOnly]
public int healthPoints;
[ReadOnly]
public int damages;