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.
Asked
Active
Viewed 15 times
0
-
the two duplicate links in combination should answer your question ;) – derHugo Apr 06 '22 at 15:40