InputKeys and PlayerController scripts: https://github.com/Vertex-3D/Side-Scr...
Press like button if you like my content it will help me out for making more videos.
IN THIS VIDEO:
Simple player controller to move left-right and also jump. Player changes its facing according to input left or right. For left and right ui buttons, I am using event triggers.
If you want to know about event triggers Here Is the Link for unity documentation: https://docs.unity3d.com/2018.3/Docum...
And here is another link: https://vasundharavision.com/blog/Uni... , if you are interested to know more about event triggers this link is not from unity.
!THANKS FOR WATCHING!
Vertex 3D