Version: 2020.2
언어: 한국어

Shader.EnableKeyword

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

설명

Set 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: DisableKeyword, multiple shader program variants.