- Home /
Scaling in Runtime
Is it possible to scale an object during runtime? So: there is a scene of a cube. Is it possible to make it grow during runtime?
Answer by zmar0519 · Apr 21, 2011 at 03:14 PM
Though you may think that you would use scale, but it doesn't appear in the documentation, so it seems difficult. However, it is under localScale, so transform.localScale = 100
will set the x, y, and z scale to 100, and transform.localScale.x = 100
will set the x scale to 100.
Your answer
Follow this Question
Related Questions
Cannot download obj file from server and save to Assets correctly (runtime) 0 Answers
Best way to sacale entire object in runtime?? 0 Answers
When do you use DontSave for Object's hideFlags? 2 Answers
How to scale an object in editor with absolute or percentual values? 2 Answers
Object sizes from the asset store 1 Answer