You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: