public void DisableKeyword (string keyword);

Descripción

Disables a locally set Shader keyword.

Unity internally compiles Shaders into multiple variants, and then picks the matching one based on locally set keywords (EnableKeyword and DisableKeyword), or globally set Shader keywords (Shader.EnableKeyword and Shader.DisableKeyword).

See Also: EnableKeyword, shaderKeywords, multiple shader program variants.