↧
Answer by Statement
Have you added the scenes you want to be able to load to build settings?
View ArticleAnswer by Bram 1
change Application.LoadLevel(myLevel)to Application.LoadLevel(0)don't change anything in the build settings (you can but it's not needed
View ArticleAnswer by Statement
If you're dealing with a character controller, then you should use OnControllerColliderHit.var myLevel : String; function OnControllerColliderHit (hit : ControllerColliderHit) { if (hit.gameObject.name...
View ArticleAnswer by Muzz 1
var myLevel : String;function OnControllerColliderHit (hit : ControllerColliderHit){ if (hit.gameObject.name == "Runner") { Application.LoadLevel(myLevel); }}
View Article