Category "script"

Unity input is not working, how to fix it?

this is my script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { // Start is called

Trying to make this script work with touchscreen

i got this code looking around this forum but, I'm not being able to make it work on mobile devices with touchscreen. Problem is I need it to work as simple as