PlayerSimpleMovement.cs
using UnityEngine;
public class PlayerSimpleMovement : MonoBehaviour
{
float h = 0;
float v = 0;
public float speed = 5;
void Update()
{
h = Input.GetAxis("Horizontal");
v = Input.GetAxis("Vertical");
transform.position += new Vector3(h * Time.deltaTime * speed, 0, v * Time.deltaTime * speed);
}
}