Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void LoginWithGoogle(Action<bool> _callBack)
- {
- callBack = _callBack;
- GoogleManager.Init(Login);
- void Login()
- {
- GoogleManager.Login(HandleLoginSuccess,HandleLoginFailed);
- }
- }
- private void HandleLoginSuccess(Credential _credentials)
- {
- FirebaseManager.Instance.Login(_credentials,HandleFirebaseLogin);
- }
- private void HandleLoginFailed(string _reason)
- {
- Debug.Log(_reason);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement