2D basic movement UNITY
Currently my character works perfectly on the keyboard, but when I convert your movements to touch, through 3 UI Buttons (i tried UI image too, but success) i'm not succeeding It basically goes to the right, left, and jumps. How should do to make it follow these instructions: When the user presses directional, the character does not stop walking until the user user releases the button, and when you press the jump player jump. This is the script I use to move through the keyboard! using UnityEngine; using System.Collections; public class Player : MonoBehaviour { public float velocity; public