---
tags:
    - "Shader, Global, Material, Keyword"
---

# Shader Disable Keyword

[Rendering](../index.md) / [Shader](index.md) / **Shader Disable Keyword** Keyword

## Description

Executes the Disable Keyword static method of the Shader class

## Parameters

| Name | Description |
| :--- | :---------- |
| Keyword |  |

## 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;

namespace VisualScript.Runtime
{
    [Title("Shader Disable Keyword")]
    [Category("Rendering/Shader/Disable Keyword", "Keyword")]
    [Description("Executes the Disable Keyword static method of the Shader class")]

    [Image(typeof(IconShader), ColorTheme.Type.Yellow)]
    [Keywords("Shader, Global, Material, Keyword")]

    [Parameter("Keyword")]

    [Serializable]
    public class GenInstructionShader_DisableKeyword_1_StringKeyword : Instruction
    {
        [SerializeField] private GetString m_Keyword = new GetString();

        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Shader");
            string method = TextUtils.ThemeAsKeyword("Disable Keyword");
            return $"{className} {method} ({this.m_Keyword})";
        }

        protected override Awaitable Run(Args args)
        {
            Shader.DisableKeyword(
                (string) this.m_Keyword.Get(args)
            );

            return Done;
        }
    }
}
```

