How to animate the alpha channel of the UI image color property only (keep the current rgb values)?
Hey,
I'm trying to fade only the alpha channel of a UI image. However, when the state with the animation is triggered, it seems to reset the color and then fade. For example, if my default button color was yellow, and I have an incorrect state with a red color, and I trigger the fade state, it switches instantly to yellow and then fades. What I want to happen is the red to fade out. Or if I was in another state that was say green, then it would fade out from green. i.e. fade the alpha of whatever color it happens to be when the fade is triggered.
I've attached an image showing my animation (I'm not animating any of the rgb properties). I even tried forcing the transitions to go directly from any one of my three states that the button would be in prior to a fade (Correct, Incorrect, or Unused), but no luck. Not sure what I'm doing wrong.
Any help appreciated, thanks.