Version: 2020.1
言語: 日本語
public void DisableKeyword (string keyword);

説明

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.