If I assign the player object in the editor

…as opposed to finding it with a tag, is this going to come back and bite me later in development?

using UnityEngine;

public class CameraFollow : MonoBehaviour {

[SerializeField] Transform player;

void LateUpdate () 
{
    transform.position = player.transform.position;
}

}

Privacy & Terms