Unity SetAlpha
It bothered me to have to create a new Color() just to change the alpha of a spriteRenderer or Image, so i made this simple extesion to set the alpha of anything that inherit the UnityEngine.UI.Graphic class, that includes spriteRenderer, Image, Text...
edevjogos.hashnode.dev1 min read