コード例 #1
0
        public override void Authenticate(AuthenticationCompletion _onCompletion)
        {
            base.Authenticate(_onCompletion);

            // Request authentication
            GameServicesAndroid.Plugin.Call(GameServicesAndroid.Native.Methods.AUTHENTICATE_LOCAL_USER);
        }
コード例 #2
0
        public override void Authenticate(AuthenticationCompletion _onCompletion)
        {
            base.Authenticate(_onCompletion);

            // Native call
            authenticatePlayer();
        }
コード例 #3
0
ファイル: LocalUser.cs プロジェクト: probhe31/Tubino2D
        protected virtual void OnInitFail(string _error)
        {
            // Send auth finished event
            if (AuthenticationFinishedEvent != null)
            {
                AuthenticationFinishedEvent(false, _error);
            }

            // unset here
            AuthenticationFinishedEvent = null;
        }
コード例 #4
0
ファイル: LocalUser.cs プロジェクト: probhe31/Tubino2D
 /// <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;
 }
コード例 #5
0
        public override void Authenticate(AuthenticationCompletion _onCompletion)
        {
            base.Authenticate(_onCompletion);

            EditorGameCenter.Instance.Authenticate();
        }
コード例 #6
0
		public override void Authenticate (AuthenticationCompletion _onCompletion)
		{
			base.Authenticate(_onCompletion);
			
			// Request authentication
			GameServicesAndroid.Plugin.Call(GameServicesAndroid.Native.Methods.AUTHENTICATE_LOCAL_USER);
		}
コード例 #7
0
		public override void Authenticate (AuthenticationCompletion _onCompletion)
		{
			base.Authenticate (_onCompletion);

			// Native call
			authenticatePlayer ();
		}
コード例 #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;
		}