void Awake() { if (_instance == null) { //requestCallbacks = new Dictionary<string,Action<IDictionary>> (); GoogleBinding.Init(clientId); _instance = this; } }
public void Authenticate(Action <bool> callback) { if (GamedoniaBackend.INSTANCE.debug) { Debug.Log("Google Authentication"); } this.callback = callback; GoogleBinding.SignIn(OnGoogleSignIn); }