public void DisableKeyword (string keyword);

Descripción

Unset a shader keyword.

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.