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


            GoogleBinding.SignIn(OnGoogleSignIn);
        }