Question by
dennyliucat80 · Nov 25, 2018 at 10:12 AM ·
c#shadermaterial
How to know whether material's emission is enabled or not by C# script?
It seems that emission can be controlled by EnableKeyword() and DisableKeyword(). But how can I know whether it's enabled or not currently?,It seems that emission can be enabled or disabled by EnableKeyword and DisableKeyword. But how to get the current state (enable or disable)?
Comment
Your answer
Follow this Question
Related Questions
Check if emission is enabled in URP Lit Shader from C# script 0 Answers
Highlighting Multiple Objects with an Outline Shader 0 Answers
Changing material type in a URP Lit material does not take effect until material is viewed in editor 0 Answers
Accessing shader colors 1 Answer
Material.SetFloat not updating. 0 Answers