Question by
Spookles · Oct 22, 2016 at 12:29 PM ·
gameobjecttransformtime
Change the size of a GameObject in a certain timespan.
I have a GameObject, and in a specific timespan it needs to shrink.
So basicaly my GameObject its size is 100x100, i want it to shrink to 10x10 in exactly 1 second.
Now i could use InvokeRepeating
but that would only make it jump from 100x100 to 10x10.
I want it to smoothly go from 100x100 to 10x10.
There is no code yet, im trying to figure out how that would be done because using Update
wouldn't give me the right results.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612095207im_/https://answers.unity.com/themes/thub/images/avi.jpg)