Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

2D Textures/Sprites To Move Player?

$
0
0
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:

Code (CSharp):
  1. public class RightClick : MonoBehaviour {...
2D Textures/Sprites To Move Player?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>