public void OnLoginButtonClick() { if (!facebook_.IsInitialized()) { appLog_.LogError("Splash: Error, login button clicked but FB not initialized"); gameManager_.SetState(GameState.Restart); return; } DoLogin(); }