API GameTooltip GetUnit

Returns the name and UnitId of the unit displayed on a GameTooltip.
 unitName, unitId = GameTooltip:GetUnit()
== Returns ==
;unitName : string - of the unit current assigned to a tooltip.
;unitId : string - UnitId assigned using () or by the game engine during mouseover.
== Details ==
* Returns nil when the tooltip is not shown, or when showing something other than a unit.