Hi,
I currently use _G in my framework as a way of accessing shortcuts and keeping my code tidy.
I.e.
local _Gi = _G
local Variable = _Gi["Something"]
local Module = _Gi["ModuleScript"]:Enable()
Any suggestions?
Hi,
I currently use _G in my framework as a way of accessing shortcuts and keeping my code tidy.
I.e.
local _Gi = _G
local Variable = _Gi["Something"]
local Module = _Gi["ModuleScript"]:Enable()
Any suggestions?
I think you have to remove
local Variable = _Gi["Something"]
and this stuff and do it like that
local Variable = _G.Something