|
I have this code here: How can i load to the scene "lvl2"? I attached this script to the First Person Controller.
(comments are locked)
|
|
As Bérenger said make sure to have the level "lvl2" added in the build settings. Normally you would detect input like this and not like you did: Give this a try and see if that fixes anything.
(comments are locked)
|
|
By pressing space. Make sure you actually have a scene called lvl2 added to the build. good one... but it does not work, also i have the scene named lvl2
May 13 '12 at 06:16 PM
s_aint47
Add a print before the LoadLevel to make sure the input is detected. Go in file->Build Settings and make sure lvl2 is added in the "Scene in Build" part. If it still doesn't work, use the id instead. If it still doesn't work, something is wrong with the matrix.
May 13 '12 at 06:26 PM
Berenger
(comments are locked)
|
