- Home /
Switching between one or more cameras in the same scene?
I have looked around the forums, and I can't seem to find anything on this rather specific idea, so either I'm really dumb and it's so easy that most people don't need to ask, or it's a fairly original/creative idea. Anyway, I have a main menu, which is just a normal scene with a static main camera and several 3DText buttons that have a bit of script and colliders that start/quit the game.
Ok, on to the question, I have a button that says 'How to Play', and when I click it, it would be great if the view would switch to another camera I have in the scene, which has some more 3D Text explaining how to play, and obviously switch back again when the 'back' 3DText is clicked. Also, it would be great it there was transition, like a blur or a fadeout?
TL;DR I would like the player's view to switch from one camera view to another, preferably with a transition, and back again afterwards, all in one scene.
Answer by DaveA · Apr 09, 2013 at 04:13 AM
Thanks for your answer, but I've already searched through that, I did say 'I've already searched the forums' did I not? Anyway, none of it fits what I want the camera to do, and I can't even stitch those bits together because it's still missing that crucial element that means it all happens on a mouse click, with a smooth transition. I really don't know about scripts at all, someone else does those, but he's ill. That's why I'm here, begging for someone who is willing to show me what to do, where.
Thanks in advance to that person. :)
@$$anonymous$$att - so explain in more detail why those solutions do not apply to your problem. We're happy to help. The traditional way to solve your problem is to have the 'How to Play' button open a new scene with Application.LoadLevel()
.
Answer by MattJBarton · Apr 11, 2013 at 02:13 AM
Hey, yeah I did think about making a new scene, but it seemed a tad excessive for a small bit of text explaining how to play. The thing is, I don't know if the others work because I have nearly no coding experience, I have a friend who does my code, and everybody seems to expect you to know about booleans and variables and functions. Maybe I should have posted on other questions instead of making my own, but I'm kind of new, and I all I would like is some help. :)
Everyone has to start somewhere, right?
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Pause menu scripting help? 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
multi scripts 1 action the same in each. C# 0 Answers
camera focus on sphere 1 Answer