Hello ! I have a pretty basic question, but I wasn’t able to answer it through searching, so I’m asking.
How can I refference my main camera ?
I have an emptyGameObject and I want to make the main camera follow it.
For this, I created a C# script for my EmptyGameObject. I use:
private Camera myCamera;
And every frame I want to make the transform of my emptyGameObject be transfered to the camera.
How can I make this in this script ?
Anticipated thanks,
lawleagle.