using System.Collections; using System.Collections.Generic; using UnityEngine; public class moveForward : MonoBehaviour { public float speed = 1; void FixedUpdate () { transform.position += transform.forward * speed * Time.deltaTime; } }