Alpha value not changing in Unity

Hey ,
I’m trying to change the alpha value of a sprite from 1 to 0. When I print my alpha value and see, it is changed but it is not reflected in my gameplay. Please refer my code below.
No errors. The alpha value just doesn’t change. I’ve also tried declaring a public spriterenderer and assigning the sprite to it and changing the alpha value but in all the ways, the alpha value changes but it is not reflected in the sprite in my gameplay. BTW, I have an animation attached to the gameobject. Will the animation cause any problem ?

    private Color c;
void Start () {
	c = GetComponent<SpriteRenderer>().color;
	c.a = 0f;
	GetComponent<SpriteRenderer>().color = c;
}

void Update () {
	
}

}

Changing the color of the material worked for me