Exemplo n.º 1
0
    private bool onAuthenticationRequiresParentalConsentEvent(SessionErrorEvents.AuthenticationRequiresParentalConsentEvent evt)
    {
        Service.Get <ICPSwrveService>().Error("error_prompt", "AuthenticationRequiresParentalConsentEvent", SceneManager.GetActiveScene().name);
        ErrorData errorData = new ErrorData("GlobalUI.ErrorMessages.ParentalConsent.Title", "GlobalUI.ErrorMessages.ParentalConsent");

        showIconErrorPrompt(errorData, parentalConsentIconContentKey);
        gameStateController.ExitWorld(logout: true);
        return(true);
    }