private readonly int _MainTex | Shader ID of _MainTex. |
private readonly int _Progress | Shader ID of _Progress. |
private Renderer centerRenderer | Centre renderer, hidden once the model is destroyed. |
private float destroyModelAtProgress | Normalized time at which the model and centre are hidden. |
private float destroyTime | Length of the destroy animation in seconds. |
private bool hasModel | True when the slot has an icon to show. |
private MaterialPropertyBlock internalModelBlock | Property block holding the slot icon texture. |
private Material material | This effect's own copy of the shell material. |
private AnimationCurve materialProgressOverPooledNormalizedTime | Curve of shader progress over the animation's normalized time. |
private Renderer modelRenderer | Renderer of the inner model showing the slot icon. |
private Renderer targetRenderer | Shell renderer whose material is animated. |