so i’m trying to follow this tutorial and integrate gpg into my game but since im using cocos i dont really know what to do with this am i supposed to make a component called
gpg.GameServices.Builder
and put these functions inside of it or what exactly ?
.SetOnAuthActionStarted( function( result ) {
// Auth started callback
})
.SetOnAuthActionFinished( function( result ) {
// Auth finished callback
})
.SetLogging( gpg.LogLevel.INFO ) // Set Logging level
.EnableSnapshots() // Enable Snapshot (Saved Game) functionailty
.Create( function( game_services ) {
// 8
} );