You can't change an individual color value directly I can't explain why but I can tell you how to fix it.
Color temp = button.image.color;
temp.a=0.5f;
button.image.color = temp;
↧