change sprite color unity shader code example Example: change sprite color unity sprite.color = new Color (1, 0, 0, 1);