public static GoogleSignIn GetInstance(GoogleSignInConfiguration Configuration) { #if UNITY_ANDROID || UNITY_IOS if (theInstance == null || theConfiguration == null || theConfiguration != Configuration) { theConfiguration = Configuration; theInstance = new GoogleSignIn(new GoogleSignInImpl(Configuration)); return(theInstance); } #endif return(null); }
/// <summary> /// Signs out the User. /// </summary> /// <remarks>Future sign-in attempts will require the user to select the /// account to use when signing in. /// </remarks> public void SignOut() { theConfiguration = null; impl.SignOut(); }