Version: 2020.1

Material.DisableKeyword

매뉴얼로 전환
public void DisableKeyword (string keyword);

설명

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.