Run when the tooltip is filled with information about a unit. See :SetUnit() and :GetUnit().

Signature:

OnTooltipSetUnit(self)

Arguments:

  • self - Reference to the widget for which the script was run (gametooltip)