You can use _G.
or shared
. These two things create different user datas for other scripts of the same class name to see.
Here’s a quick example :
There is no difference between shared and _G.
You can use _G.
or shared
. These two things create different user datas for other scripts of the same class name to see.
Here’s a quick example :
There is no difference between shared and _G.