As far as I know though any object not declared local is global right ? Like I can access many of nUI's functions and variables from my plugins because they are globally available for that purpose.
local ThisIsALocalVariable
ThisIsAGlobalVariable = 1234
ThisIsAGlobalTable = { SubTable1 = {}, Value1 = 23 }
In all the addons I have seen have done things this way which allows public access to the variables.
|