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

Canvas Use Reflection Probes#

UI / Layout / Canvas / Canvas Use Reflection Probes

Description#

Compares the Use Reflection Probes property of Canvas component to another value

Parameters#

Name Description
Canvas

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("Canvas Use Reflection Probes")]
    [Category("UI/Layout/Canvas/Use Reflection Probes")]
    [Description("Compares the Use Reflection Probes property of Canvas component to another value")]
    
    [Image(typeof(IconCanvas), ColorTheme.Type.TextLight)]
    [Keywords("UI, Layout")]
    
    [Parameter("Canvas")]
    
    [Serializable]
    public class GenConditionBool_Canvas_CheckUseReflectionProbes : Condition
    {
        [SerializeField] private GetGameObject m_Canvas = new GetGameObject(
            new GenTypeGameObject_Canvas()
        );
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Use Reflection Probes");
            return $"{this.m_Canvas} {member}";
        }
        
        protected override bool Run(Args args)
        {
            Canvas component = this.m_Canvas.Get<Canvas>(args);
            if (component == null) return false;
            
            return component.useReflectionProbes;
        }
    }
}

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