Topic was automatically imported from the old Question2Answer platform.
Asked By
theruins
Hi!
I‘m trying to add GameCenter to my game, but the Singleton isn‘t „defined in scope“ and the docs aren‘t really helping me understand how to use it. Any ideas?
var game_center = null
if Engine.has_singleton("GameCenter"):
game_center = Engine.get_singleton("GameCenter")
### call game center method on the game_center variable