---
tags:
    - "Graphics, Quality, Options, Performance"
---

# Quality Settings Decrease Level

[Settings](../index.md) / [Quality Settings](index.md) / **Quality Settings Decrease Level** ApplyExpensiveChanges

## Description

Executes the Decrease Level static method of the Quality Settings class

## Parameters

| Name | Description |
| :--- | :---------- |
| Apply Expensive Changes |  |

## Code

```cs
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Title("Quality Settings Decrease Level")]
    [Category("Settings/Quality Settings/Decrease Level", "ApplyExpensiveChanges")]
    [Description("Executes the Decrease Level static method of the Quality Settings class")]

    [Image(typeof(IconCog), ColorTheme.Type.TextLight, typeof(BadgeSettings))]
    [Keywords("Graphics, Quality, Options, Performance")]

    [Parameter("Apply Expensive Changes")]

    [Serializable]
    public class GenInstructionQualitySettings_DecreaseLevel_1_BoolApplyExpensiveChanges : Instruction
    {
        [SerializeField] private GetBool m_ApplyExpensiveChanges = new GetBool();

        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Quality Settings");
            string method = TextUtils.ThemeAsKeyword("Decrease Level");
            return $"{className} {method} ({this.m_ApplyExpensiveChanges})";
        }

        protected override Awaitable Run(Args args)
        {
            QualitySettings.DecreaseLevel(
                (bool) this.m_ApplyExpensiveChanges.Get(args)
            );

            return Done;
        }
    }
}
```

