void Log(string text, bool toConsole = true) { if (toConsole) { CurrentLoginProvider.Log(text); UpdateDebugTextFromProvider(); } Debug.Log(text); }
public void HandleLogout() { Logger.Log("Logging out with current Login Provider..."); ClearLog(); CurrentLoginProvider.SignOutAsync().ContinueWith(t => { ProcessResult(t); }); }
public void ClearLog() { CurrentLoginProvider.ClearLog(); UpdateDebugTextFromProvider(); }