Create a script that moves a GameObject forward in the direction it is facing.
using UnityEngine; public class Mover : MonoBehaviour { public float speed = 5f; private void Update() { transform.position += transform.forward * speed * Time.deltaTime; } }