GotNoPockets / MayhemJamGameThingy / Assets / Scripts / FollowPlayerScript.cs
FollowPlayerScript.cs
Raw
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FollowPlayerScript : MonoBehaviour
{
	public GameObject Player;


    void Update()
    {
		transform.position = new Vector3(Player.transform.position.x, Player.transform.position.y, Player.transform.position.z + 2);
    }
}