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 Get ETC1 Supported Canvas Material#

UI / Layout / Canvas / Canvas Get ETC1 Supported Canvas Material

Description#

Compares the Get ETC1 Supported Canvas Material static method of Canvas class to another value

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("Canvas Get ETC1 Supported Canvas Material")]
    [Category("UI/Layout/Canvas/Get ETC1 Supported Canvas Material")]
    [Description("Compares the Get ETC1 Supported Canvas Material static method of Canvas class to another value")]
    
    [Image(typeof(IconCanvas), ColorTheme.Type.TextLight)]
    [Keywords("UI, Layout")]
    
    [Parameter("Value")]
    
    [Serializable]
    public class GenConditionMaterial_Canvas_CheckGetETC1SupportedCanvasMaterial_0 : Condition
    {
        [SerializeField] private GetMaterial m_Value = new GetMaterial();
        
        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Canvas");
            string method = TextUtils.ThemeAsKeyword("Get ETC1 Supported Canvas Material");
            return $"{className} {method} = {this.m_Value}";
        }
        
        protected override bool Run(Args args)
        {
            Material value = Canvas.GetETC1SupportedCanvasMaterial();
            
            return value == this.m_Value.Get(args) as Material;
        }
    }
}

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