Version: 5.5

Material.DisableKeyword

Switch to Manual
public void DisableKeyword (string keyword);

Description

"Отзывает" ключевое слово шейдера.

Shaders can be internally compiled into multiple variants, and then the matching one is picked based on material keywords (EnableKeyword and DisableKeyword), or globally set shader keywords (Shader.EnableKeyword and Shader.DisableKeyword).

See Also: EnableKeyword, shaderKeywords, Accessing Materials via Script, multiple shader program variants.