How to set a a Camera as a main camera

Hi

i have a problem with my cameras. i´m making a game like uncharted and when the player presses a button a the cam should switch to another one and shows that the door is open and then switch back to main cam. but when i start my game it switchs to the other cam.
how can i set the main camera to be shown when i start the game?

the camera with the lower depth wil be the first to render.

your main camera will be the one with the lower depth.

Enable the camera you want to show and disable all others camera.

camera1.camera.active = false;
camera2.camera.active = true;

Don’t only use the depth property of the cameras. If you don’t disable other cameras you don’t use, you’ll have twice the draw calls.