Buttons for Player movement
I am making a game for iOS and Android but I do not know how to make the buttons make the player move. I have already made a script for the Player Movement so it works fine on the keyboard with "WASD" or the arrows. It is a 2D Platformer so I will only need 3 buttons (Left, Right & Jump). I am fairly new to Unity and coding and this is my first game I am being serious about. Thanks for the help! (I would have posted the code that the player uses for movement but it is 300 lines long lol)
Comment