using System.Collections;
using System.Collections.Generic;
public class PlayerControls : MonoBehavior
public Vector2 speed = new Vector(50,50)
float inputX = input.GetAxis("Horizontol");
float inputY = input.GetAxis("Vertical");
Vector3 movement = new Vector3(speed.x * inputX, speed.y *inputY, 0);
movement *= Time.deltaTime;
transform.Translate(movement);