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

Toggle Set Is On Without Notify#

UI / Interaction / Toggle / Toggle Set Is On Without Notify

Description#

Executes the Set Is On Without Notify method on the Toggle component

Parameters#

Name Description
Value

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;
using UnityEngine.UI;

namespace VisualScript.Runtime
{
    [Title("Toggle Set Is On Without Notify")]
    [Category("UI/Interaction/Toggle/Set Is On Without Notify")]
    [Description("Executes the Set Is On Without Notify method on the Toggle component")]

    [Image(typeof(IconToggleOn), ColorTheme.Type.TextLight)]
    [Keywords("UI, User, Interface, Checkbox")]

    [Parameter("Value")]

    [Serializable]
    public class GenInstructionToggle_SetIsOnWithoutNotify_1 : Instruction
    {
        [SerializeField] private GetGameObject m_Toggle = new GetGameObject(
            new GenTypeGameObject_Toggle()
        );

        [SerializeField] private GetBool m_Value = new GetBool();

        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Set Is On Without Notify");
            return $"{this.m_Toggle} {method} ({this.m_Value})";
        }

        protected override Awaitable Run(Args args)
        {
            Toggle component = this.m_Toggle.Get<Toggle>(args);
            if (component == null) return Done;

            component.SetIsOnWithoutNotify(
                (bool) this.m_Value.Get(args)
            );

            return Done;
        }
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.