Initiating random camera on start?

Hey everyone.I am kinda beginner in C# programming and i need a script that would activate one of 5 cameras when my scene starts.
I dont know how to write it so any help is appreciated.
Thanks in advance!

Hello.

FIrst, Camera is a component, but i supose you have 1 object for each camera, so each of these objects have its own camera component.

So, you only need to activate or deactivate the objects. (Be sure to have only 1 camera object activated at any time)

To select one of the cameras, first you need to have all cameras in a GameObject variavle (GameObjects array). And select one of them using random.RAnge as a index.

Take your time, read, investigate, watch youtubes, tutorials, manuals… dont try to go fast, try to understand and practice step by step.

Good luck"!

@tormentoarmagedoom thank you will try!