AddOns UI API UI Form UI XML UI Event WS Lua UI Macro CVars
Changes
Guides Snippets
Categories
← UI API < GameLib.GetPlayerUnit
Gets the unit data for the current player.
local unitPlayer = GameLib.GetPlayerUnit()