I have a camera class, that is suppose to chase my player, which works, but its really really slow. It only has this line of code, which makes sense to me, player moves, camera moves. Any idea of why my game runs slower.
void Update()
{
transform.position= new Vector3(player.transform.position.x, player.transform.position.y, -10);
}
LateUpdate()
. \$\endgroup\$