initialize
This method initializes the Play Games SDK. It should be called right after checking that the plugin is loaded into Godot, for example:
func _ready() -> void:
if Engine.has_singleton(_plugin_name):
print("Plugin found!")
var android_plugin := Engine.get_singleton(_plugin_name)
android_plugin.initialize()
else:
printerr("No plugin found!")
Content copied to clipboard
If the user has automatic sign-in enabled, the initialization will check for authentication.