Hi,
I saw different "tutorials" about singletons in godot but still are not clear.
Lets assume I have a script file global.gs imported as singleton with name global.
Where I have this constant:
const BAR = 1
and this function:
func foo():
print("ok")
question: how I can manage to use them in any other scripts like:
print(global.BAR)
global.foo()
Thank you.