Search Unity

How to animate an image?

Discussion in 'UGUI & TextMesh Pro' started by Karriz, Aug 24, 2014.

  1. Karriz

    Karriz

    Joined:
    May 24, 2013
    Posts:
    18
    Hi, I can't figure out how to make an animated image with the new UI system. Buttons do have animation integration, but what about images? I tried adding the animator component, but it does nothing. I also tried adding a Sprite Renderer instead of image, but it doesn't seem to be compatible with Rect Transform.
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,225
    When you create an animation you can open the animation window. If you have an 'Image' component for animation you can over time change the sprite that is being used. Just animate the channel like a normal channel. If you are unaware of how do do this look at some of the mecanim tutorials on the learn website. http://unity3d.com/learn