A set of custom attributes
Custom Inspector property label that allows using an icon, a custom label text and a custom label color.
Put the attribute in front of a property.
You can specify a icon path, a custom label text and a custom label color.
You can use an empty string for the icon path for not using custom icon.
You can use LabelPlusColor enum color preset and cast it to int, or an array of float[0-1] (RGBA).
[LabelPlus("Assets/PathToYourIcon/health.png", "Health Points", (int)LabelPlusColor.green))]
public int healthPoints;
[LabelPlus("Assets/PathToYourIcon/sword.png", "Health Points", new float[] { 1f, 0f, 0f, 1f }))]
public int damages;