Search Unity

uGUI Image Color Alpha with Legacy Animation

Discussion in 'UGUI & TextMesh Pro' started by nventimiglia, Sep 25, 2014.

  1. nventimiglia

    nventimiglia

    Joined:
    Sep 20, 2011
    Posts:
    153
    I have an image that acts as a screen overlay. Attached is a legacy animation which loops the image's color's alpha value from .5 to .8 and back again. When I play the game the animation does not play correctly. Looking in the editor, I see that my animation is looping correctly in the inspector.. however in the game view the alpha does not update correctly.

    Is there another way to tween a image's alpha transparency ?
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,225
    We rely on an animation callabck from mecanim to do animation for UI components. We have a bug about this not working with the legacy system, but we are not sure if / when the animation team will look into it.
     
    nventimiglia likes this.