Hi,
I am working on 2D game in Unity 4.3. I have a spring Image, which I want to change its height on finger swipe, I can change via using “transform.localscale” of that Image but whats happening its position also change on size changing. I want to stick its position but just to grow and decrease image size on Swipe. I also attached image whats happening on left spring, its size but it also goes up of white line, this I don’t want to do. Kindly suggest me some better approach to accomplish this task. Thanks in advance.
[20371-screen+shot+2014-01-08+at+5.33.24+pm.png|20371]
[20372-screen+shot+2014-01-08+at+5.34.46+pm.png|20372]