Hello and Happy New Year! , I need some help with scripting please. I am a starter Unity 3D developer. I am developing a 2D game for iPhone. I need a script to drag 2D objects (which are planes) with touch across the x and the z axises. I had been searching for such scripts a long time and found one script, which seemed to work in the iPhone emulator, but on device it work very slow, slower than 1 FPS. I have tried everything for a long time with no result. Could somebody spare some minutes of his time and provide me a working “drag with touch” script or explain how to make my own? I appreciate your help!
All you need is the penelope tutorial.
Welcome to the forum, Sania!
There is a script attached to this thread (a few posts down) that gives an example of how to drag an object in a plane parallel to the view.
Thanks!, i already used script from this thread it work fine for me.
Thank! too , wow I looking for this also …