drtwisted / godot-google-play-game-services

Google Play Game Services module for Godot Engine
MIT License
24 stars 3 forks source link

how to use #4

Closed Ceydigitaluditha closed 6 years ago

Ceydigitaluditha commented 6 years ago

@drtwisted Thank you for building this repository. Please tell me how I init this library to my Godot script.Thank you

drtwisted commented 6 years ago

@Ceydigitaluditha you can use the following contruction:

var gpgs_instance = Globals.get_singleton("GodotPlayGameServices")
gpgs_instance.init(get_instance_ID()) # Normal init
gpgs_instance.init_with_debug(get_instance_ID()) # Debug init
drtwisted commented 6 years ago

@Ceydigitaluditha Does previous post answer your question?

drtwisted commented 6 years ago

I assume this issue as resolved. If you have got any questions left, please, create another issue or contact me by any means convinient for you.