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(); }
protected virtual void OnInitFail(string _error) { // Send auth finished event if (AuthenticationFinishedEvent != null) { AuthenticationFinishedEvent(false, _error); } // unset here AuthenticationFinishedEvent = null; }
/// <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; }
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 (); }
/// <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; }