I recently joined a small Android game dev team, as a way to get more hands on experience with using Unity for game development. Recently I was given the task of rigging up touch screen controls for the player. Now this isn’t a horribly difficult task as, being our first build was on PC, and not Android, the script and stuff for moving the player is already written up, I just need to whip up a UI button that activates that script when the “movement pad” is touched.
However, the “movement pad” also needs to be able to move around the screen. Say the player wants to be able to drag the movement pad from being on the left end of the screen to the right end. How could this be accomplished?
So in other words, if the movement pad is on the left hand of the screen, thus being controlled by the players left thumb, but he wants it controlled by the right thumb, he can drag the movement over to the right side, so that his right thumb can use it.