Returns the name of a unit's race
See also Unit functions.
Signature:
race,
fileName
=
UnitRace("unit")
Arguments:
unit
- A unit to query (string
, unitID)
Returns:
race
- Localized name of the unit's race (string
)fileName
- A non-localized token representing the unit's race (string
)