How to increase the x axis scale of a game object's sprite and box collider over a specific duration

Basically, I would like to know how I can increase the x axis scale of a 2D game object’s sprite and box collider over a specific duration, say 2 seconds.

Unity - Scripting API: Transform.localScale should suffice.

2 Likes