Hi,
I need to scale an object in x axis for like 2 seconds, then scale it back, then scale it in Y axis for 2 seconds and scale it back.
Question is, how to do these consecutively.
Thanks.
Hi,
I need to scale an object in x axis for like 2 seconds, then scale it back, then scale it in Y axis for 2 seconds and scale it back.
Question is, how to do these consecutively.
Thanks.
You have many options for doing this.
Use Vecor3.Lerp or you can use tween animation extensions like iTween.
start a Coroutine that keeps animating and yielding null till 2 secs are over, then call the next Coroutine and end itself