Version: 2017.3

Shader.DisableKeyword

Cambiar al Manual
public static void DisableKeyword (string keyword);

Descripción

Unset a global shader keyword.

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

See Also: EnableKeyword, multiple shader program variants.