Following Camera



Well, I wrote my script first with

[SeriallizeField] GameObject player;

but after I saw Ricks solution, I thought for myself, I think Rick’s solution is better. Because it takes the need to define who the player is every time I make some changes and the script loses the Player GameObject.
The only downside is that if it would have more than one player, than it wouldn’t work, but it’s going to be single player all the time anyway.