PTooltip

  06. Attributes No Comments

Adds a tooltip above the target in the Inspector.

This is just like Unity’s built-in Tooltip attribute except that it supports targeting of properties and methods in addition to fields.

PTooltip(string tooltip)

Adds the given tooltip text to a field, property or a method in the inspector.

PTooltip(params string[] tooltipLines)

Adds the given tooltip text lines to a field, property or a method in the inspector.

Attribute Target

Field, property, method or indexer.