0

I'm new to Unity and I would like to display some buttons on a game if played on mobile device. I want to put a couple of buttons to move my player (2D game) left and right while their are pressed, how can I do that? On button component there is only OnCLick() method but I want to continue move the player if the button is still pressed.

0 Answers0