Returns the style of vehicle UI to display for a unit
See also Vehicle functions.
Signature:
skin
=
UnitVehicleSkin("unit")
or
UnitVehicleSkin("name")
Arguments:
unit
- A unit to query (string
, unitID)name
- Name of a unit to query; only valid forplayer
,pet
, and party/raid members (string
)
Returns:
skin
- Token identifying the style of vehicle UI to display for the unit (string
)Mechanical
- Used for mechanical vehiclesNatural
- Used for creature mounts