IEnumerator QualitySettingsCheck()
        {
            int currentLevel = QualitySettings.GetQualityLevel();

            while (true)
            {
                yield return(new WaitForEndOfFrame());

                if (currentLevel != QualitySettings.GetQualityLevel())
                {
                    currentLevel = QualitySettings.GetQualityLevel();
                    TFidelity message = new TFidelity();
                    MessageUtil.SetQualityLevel(message, QualitySettings.GetQualityLevel());
                    m_AdditionalLibraryMethods.SetFidelityParameters(message);
                }
            }
        }
        IEnumerator QualitySettingsCheck()
        {
            int currentLevel = QualitySettings.GetQualityLevel();

            while (true)
            {
                yield return(new WaitForEndOfFrame());

                if (currentLevel != QualitySettings.GetQualityLevel())
                {
                    currentLevel = QualitySettings.GetQualityLevel();
                    TFidelity message = new TFidelity();
                    MessageUtil.SetQualityLevel(message, QualitySettings.GetQualityLevel());
                    var errorCode = m_AdditionalLibraryMethods.SetFidelityParameters(message);
                    if (errorCode != ErrorCode.Ok)
                    {
                        Debug.LogErrorFormat("SetFidelityParameters({0}) result is {1}", message, errorCode);
                    }
                }
            }
        }