Returns information about the unit displayed in the tooltip
Signature:
name, unit = GameTooltip:GetUnit()
Returns:
name- Name of the unit displayed in the tooltip, or nil (string)unit- Unit identifier of the unit, ornilif the unit cannot be referenced by aunitID(string, unitID)