- Home /
Question by
Max Designer · Jan 12, 2013 at 06:12 AM ·
uniscite
how to write a script for a camera?
how to write a script with when i have the cursor over it and select it, it go to a camera in a different scene?
Comment
Answer by m-bot · Jan 12, 2013 at 10:56 AM
function OnMouseDown () {
Application.LoadLevel ("LevelName"/*or*/levelnumber);/*Select one of the two*/
}
The image of the cameras turns automatically visible.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Strange behaviour of error CS0246 in Unity 1 Answer
Silly question, doing nothing? 4 Answers
Android Tutorial 2 Answers
Using SimpleJson included with UnitySocketIO-WebSocketSharp 2 Answers