https://drive.google.com/file/d/1EwQd7W5L5C6d9ZQiHXvs1VMc3XNWcq9O/view?usp=sharing
This is my code for player movement. It works well but i want to move it with button for mobile how can i do it?
I want buttons to move left,right and jumping.
https://www.youtube.com/watch?v=RqomLumqwCk
I did the things in this video. But it didn't work.
CodePudding user response:
Unity released great free packages here and here. You can use it to practice and learn more about how to create your own player movement.
Of course, this is in 3D but you can easily set it to read just one axis and create a 2D game.
Also, this is a good chance to learn more about the new input system and Cinemachine (if you don't know it already).