Hello, I'm developing a game for IOS. I got my base of the game down, and I would like to change my controls to fit the touch screen of the IOS. A way I thought about doing this is with textures/sprite images that either move left or right. I've been trying to do this, as I thought it would be simple, but it turns out to be harder than I expected. How exactly can I do this? Here's my script that I use for the texture to click on it:
2D Textures/Sprites To Move Player?
Code (CSharp):