Animation to decrease the size of a cube in Unity

Asked

Viewed 64 times

0

Hello! I’m in Unity using C# and I have a cube that, when I press q, it drops to 0.5 scale from scale 1 and when I drop q, he goes back to scale 1. I wanted there to be some quick animation of the cube’s decrease and growth and I thought I’d do a For that, am I right? Is there a specific function for that?

  • include your code to the question

1 answer

0


Browser other questions tagged

You are not signed in. Login or sign up in order to post.