Quality Settings Increase Level#
Settings / Quality Settings / Quality Settings Increase Level ApplyExpensiveChanges
Description#
Executes the Increase Level static method of the Quality Settings class
Parameters#
| Name | Description |
|---|---|
| Apply Expensive Changes |
Code#
// <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 Increase Level")]
[Category("Settings/Quality Settings/Increase Level", "ApplyExpensiveChanges")]
[Description("Executes the Increase 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_IncreaseLevel_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("Increase Level");
return $"{className} {method} ({this.m_ApplyExpensiveChanges})";
}
protected override Awaitable Run(Args args)
{
QualitySettings.IncreaseLevel(
(bool) this.m_ApplyExpensiveChanges.Get(args)
);
return Done;
}
}
}