using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowPlayer : MonoBehaviour { public GameObject player; private Vector3 offset = new Vector3(0, 10, -16); // Start…
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { // private variables private float speed = 10.0f; private float turnSpeed = 25.0f;…