---
tags:
    - "UI, User, Interface"
---

# Image Default ETC1 Graphic Material

[UI](../../index.md) / [Graphic](../index.md) / [Image](index.md) / **Image Default ETC1 Graphic Material**

## Description

Compares the Default ETC1 Graphic Material static property of Image class to another value

## Parameters

| Name | Description |
| :--- | :---------- |
| Value |  |

## Code

```cs
// <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("Image Default ETC1 Graphic Material")]
    [Category("UI/Graphic/Image/Default ETC1 Graphic Material")]
    [Description("Compares the Default ETC1 Graphic Material static property of Image class to another value")]
    
    [Image(typeof(IconUIImage), ColorTheme.Type.TextLight)]
    [Keywords("UI, User, Interface")]
    
    [Parameter("Value")]
    
    [Serializable]
    public class GenConditionMaterial_Image_CheckDefaultETC1GraphicMaterial : Condition
    {
        [SerializeField] private GetMaterial m_Value = new GetMaterial();
        
        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Image");
            string member = TextUtils.ThemeAsKeyword("Default ETC1 Graphic Material");
            return $"{className} {member} = {this.m_Value}";
        }
        
        protected override bool Run(Args args)
        {
            return Image.defaultETC1GraphicMaterial == this.m_Value.Get(args) as Material;
        }
    }
}


```

