I am having a problem this morning with my Button.Image.Color
here is my really simple code :
this.gameObject.GetComponent<Image>().color = Color.Red;
So this line perfectly works...Now, I am trying to use my own color onto that button with this, again, simple line of code :
this.gameObject.GetComponent<Image>().color = new Color(106, 174, 23);
Well, the color actually changes...without changing...let's refer to the object itself while the game is running :
So as you can see, the color changed but, it stays white.
I've looked at many posts in here but it appears that I am doing it right, obviously there is a mistake or else it would work fine, but even after reading a lot of posts it seems that I cannot see the solution on my own.