Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Question making sprite animation as UI

Discussion in 'UGUI & TextMesh Pro' started by yinonezra, Feb 22, 2021.

  1. yinonezra

    yinonezra

    Joined:
    Sep 2, 2020
    Posts:
    3
    Hi There,

    I'm trying to make a button with sprite animation (mouseOver)
    everything's working fine - except - the animation seems to change sizes to fit the box inside, unlike the way it works outside the UI canvas. I hope that I'm clear enough for you to under stand.

    do you know a way to play the sprite animation inside a button without those size changes on UI?

    (VIDEO is added to show the differences, first its how the animation looks on the Button, the other one is how it looks as a regular sprite animation.)

    thanks a lot!


     
  2. yinonezra

    yinonezra

    Joined:
    Sep 2, 2020
    Posts:
    3
    hi again... Anyone? :(