Ejemplo n.º 1
0
        public override void Authenticate(AuthenticationCompletion _onCompletion)
        {
            base.Authenticate(_onCompletion);

            // Request authentication
            GameServicesAndroid.Plugin.Call(GameServicesAndroid.Native.Methods.AUTHENTICATE_LOCAL_USER);
        }
Ejemplo n.º 2
0
        public override void Authenticate(AuthenticationCompletion _onCompletion)
        {
            base.Authenticate(_onCompletion);

            // Native call
            authenticatePlayer();
        }
Ejemplo n.º 3
0
        protected virtual void OnInitFail(string _error)
        {
            // Send auth finished event
            if (AuthenticationFinishedEvent != null)
            {
                AuthenticationFinishedEvent(false, _error);
            }

            // unset here
            AuthenticationFinishedEvent = null;
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Authenticates the local user on the device.
 /// </summary>
 /// <param name="_onCompletion">Callback that will be called after operation is completed.</param>
 public virtual void Authenticate(AuthenticationCompletion _onCompletion)
 {
     // Cache callback
     AuthenticationFinishedEvent = _onCompletion;
 }
Ejemplo n.º 5
0
        public override void Authenticate(AuthenticationCompletion _onCompletion)
        {
            base.Authenticate(_onCompletion);

            EditorGameCenter.Instance.Authenticate();
        }
		public override void Authenticate (AuthenticationCompletion _onCompletion)
		{
			base.Authenticate(_onCompletion);
			
			// Request authentication
			GameServicesAndroid.Plugin.Call(GameServicesAndroid.Native.Methods.AUTHENTICATE_LOCAL_USER);
		}
		public override void Authenticate (AuthenticationCompletion _onCompletion)
		{
			base.Authenticate (_onCompletion);

			// Native call
			authenticatePlayer ();
		}
Ejemplo n.º 8
0
		/// <summary>
		/// Authenticates the local player on the device.
		/// </summary>
		/// <param name="_onCompletion">Callback to be called when request completes.</param>
		public virtual void Authenticate (AuthenticationCompletion _onCompletion)
		{
			// Cache callback
			AuthenticationFinishedEvent	= _onCompletion;
		}