Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Quality Settings Level Name#

Settings / Quality Settings / Quality Settings Level Name

  • Can Read

  • Cannot Write

Description#

The name of a quality level, which is the active one by default

Parameters#

Name Description
Level The index of the quality level

Code#

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]

    [Title("Quality Settings Level Name")]
    [Category("Settings/Quality Settings/Level Name")]

    [Description("The name of a quality level, which is the active one by default")]
    [Image(typeof(IconCog), ColorTheme.Type.TextLight, typeof(BadgeSettings))]

    [Parameter("Level", "The index of the quality level")]

    [Keywords("Graphics", "Quality", "Options", "Performance", "Preset")]

    [Serializable]
    public class TypeStringQualitySettingsLevelName : TypeString
    {
        [SerializeField] private GetInteger m_Level = new GetInteger(
            new GenTypeInteger_QualitySettings_GetQualityLevel_0()
        );

        [NonSerialized] private string[] m_Names;

        public override string Get(Args args)
        {
            this.m_Names ??= QualitySettings.names;

            int level = this.m_Level.GetInt(args);
            if (level < 0 || level >= this.m_Names.Length) return string.Empty;

            return this.m_Names[level];
        }

        public override string ToString()
        {
            return $"{this.m_Level} Name";
        }

        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.