Open MaaaxiKing opened 3 years ago
To use autoload (singleton) you can create an autoload script and then use the same logic that was on the demo. This way you can access the share
property in any of your script.
So making an empty script and autoload it? That can't be, can it?
Yeah, it's how the Godot autload works :P
I have the files in the plugins directory but in the demo you wrote " if Engine.has_singleton("GodotShare"): share = Engine.get_singleton("GodotShare") ". But what can I autoload, there is no script. What am I missing or overlooking?