private static readonly int _Color | Shader property id for the colour. |
private static readonly int _Emission | Shader property id for the emission strength. |
private Material activeMaterial | Material instance used while lit. |
private Coroutine animation | The running fade coroutine. |
private Color inactiveColor | Serialized colour for the inactive state. Not read in this class. |
private Material inactiveMaterial | The renderer's original material, used while dimmed. |
private float lerpDuration | Seconds a fade takes. |
private float litEmmision | Emission strength when fully lit. |
private Renderer targetRenderer | Renderer of the crystal. |