How to switch cameras on 3d text click in java

I have 2 cameras, one is called MainCamera and the other is GameCamera, I want to have it so that when you click “Start Game” text it takes you to the GameCamera so you can start playing. I have no idea how to do this in java and have spent way to much time trying to figure it out. Any help is appreciated, Thanks!
-Oliver

As quick note, I’m guessing you mean javascript, right? Java is completely different :smiley:

So here’s a quick explanation of how I’d do it: set up a GUI button, when you click it it’ll go MainCamera.enabled = false and GameCamera.enabled = true.

Unity - Scripting API: GUI.Button to learn about GUI Buttons

This should help with the cameras, too: http://forum.unity3d.com/threads/57922-Unity-3D-Enable-Disable-Cameras-In-Hierarchy