Originally Posted by Game92
[highlight="Lua"]-- Lib Globals
local _G = _G
local select = select
local unpack = unpack
local tonumber = tonumber
local match = string.match
local floor = math.floor
...
|
Code:
local A, C, L = select(2, ...):unpack()
It is only available for the files inside the addon.
For other addon, it should be fine to just "local A, C, L = select(YourAddonName):unpack()", because of the bottom line of your code "_G[AddOnName] = Engine".
So now, for some addon that doesn't have the bottom code as you do, is there any way to access as well?