Image
Adds an Image on top of a property.

[Image("Assets/CowsinsInspectorLogo.png")]
public int imageVariable;
[Image("Assets/CowsinsInspectorLogo.png", .95f)]
public int imageVariable;
Image(string imagePath, float widthPercentage)]imagePath: The file path of the image to be displayed.
widthPercentage: The width of the image as a percentage of the inspector width.
Last updated