using System.Collections;
using System.Collections.Generic;
public class playermove : MonoBehaviour
public float runSpeed = 7;
public float rotationSpeed = 250;
public animator animator;
x = Input , GetAxis(“Horizontal“);
y = Input , GetAxis(“Vertical“);
transform.Rotate(0, x * time.deltatime *rotationSpeed, 0);
transform.Translate(0, 0, y * Time.deltatime*runSpeed);