private static readonly string _AtlasingSwitch | Shader keyword _ATLAS turned on for atlased creatures. |
private static readonly int _Color | Shader property ID for _Color. |
private static readonly int _ColorA1 | Shader property ID for _ColorA1. |
private static readonly int _MainTex | Shader property ID for _MainTex. |
private static readonly int _Progress | Shader property ID for the dissolve progress. |
private NetworkEntity entity | The entity the server destroys when the effect ends. |
private bool isAtlased | Whether the ash materials use the atlas shader keyword. |
private DeathEvent onEnd | Raised when the effect finishes. |
private DeathEvent onStart | Raised when the effect starts, after the delay. |
private RendererGroup renderers | Renderers that dissolve. |
private DeathAnimationSettings settings | Death animation settings: ash material and duration. |
private float startDelay | Seconds to wait before the effect starts. |
private Dictionary<Material, Material> uniqueMaterials | Ash material made for each original material. |