Hi,
I use code like this to change the transparency for animation:
fillColor = Shader.PropertyToID("_FillColor");
mpb.SetColor(fillColor, new UnityEngine.Color(1, 1, 1, 0));
meshRenderer.SetPropertyBlock(mpb);
I can find the alpha has been set to 0 in inspector panel, but the object still can be seen.
Is anyone know how to make it?
Thanks.