- Home /
Switching cameras with the click of the mouse
Okay, here is my problem. I have a simple 2d (actually it's 3D with an overhead camera, but anyway) I have about 22 cameras going in sequential order and when I click a certain button on the GUi, it switches to the next one. But nothing works and there is no switching of cameras. It should work that when you start at the Main Camera (camera 1)and then when you click the button (which is GUI) you go to the next one (cam 2), but nothing works. Can anyone at least point me in the right direction of what to do?
Can you please be more descriptive on what you have tried so far? Including the section of code that is giving you trouble is a huge benefit to the people trying to help you.
Answer by eem · Sep 30, 2011 at 07:01 PM
If you have multiple cameras in the scene, it displays the last one that was enabled. So if you want to switch to another camera, disable every camera except the one you want to look through.
Your answer
Follow this Question
Related Questions
Camera Orbit on Left Click problem 0 Answers
Change Camera on (Right) Mouse Click 1 Answer
Switching cameras with the mouse button 1 Answer
Clicked object is stored in a variable? 1 Answer
Change Pickup key 1 Answer