Property Tooltip Attribute

PropertyTooltip is used on any property, and creates tooltips for when hovering the property in the inspector. Use this to explain the purpose, or how to use a property.

[PropertyTooltip("This is tooltip on an int property.")]
public int MyInt;

[InfoBox("Use $ to refer to a member string.")]
[PropertyTooltip("$Tooltip")]
public string Tooltip = "Dynamic tooltip.";

[Button, PropertyTooltip("Button Tooltip")]
private void ButtonWithTooltip()
{
    // ...
}