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

Set Canvas Group Ignore Parent Groups#

UI / Layout / Canvas Group / Set Canvas Group Ignore Parent Groups

Description#

Sets the Ignore Parent Groups property of Canvas Group component

Parameters#

Name Description
Canvas Group
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("Set Canvas Group Ignore Parent Groups")]
    [Category("UI/Layout/Canvas Group/Ignore Parent Groups")]
    [Description("Sets the Ignore Parent Groups property of Canvas Group component")]
    
    [Image(typeof(IconCanvasGroup), ColorTheme.Type.TextLight)]
    [Keywords("UI, Layout")]
    
    [Parameter("Canvas Group")]
    [Parameter("Value")]
    
    [Serializable]
    public class GenInstructionBool_CanvasGroup_SetIgnoreParentGroups : Instruction
    {
        [SerializeField] private GetGameObject m_CanvasGroup = new GetGameObject(
            new GenTypeGameObject_CanvasGroup()
        );
        
        [SerializeField] private GetBool m_Value = new GetBool();
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Ignore Parent Groups");
            return $"{this.m_CanvasGroup} {member} = {this.m_Value}";
        }
        
        protected override Awaitable Run(Args args)
        {
            CanvasGroup component = this.m_CanvasGroup.Get<CanvasGroup>(args);
            if (component == null) return Done;
            
            component.ignoreParentGroups = (bool) this.m_Value.Get(args);
            
            return Done;
        }
    }
}

Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.