Question by
Slashscreen · Nov 05, 2016 at 02:57 PM ·
errorsceneload scene
Loading scene problems
I am creating a door that, upon touched, loads a new scene, but I am having problems with the script. What is wrong? It doesn't know what GameObject is
function Update () {
function (OnTriggerEnter GameObject.Collider) {
SceneManager.LoadScene("World1", LoadSceneMode.Single);
};
}
Comment
Your answer
Follow this Question
Related Questions
Running Errors building on Andriod 0 Answers
Can't switch to another scene using LoadSceneAsync() 0 Answers
Scene Editor Problem @username 0 Answers
Lightmapping Black Seam Issue With Modular Scene Pieces 0 Answers
InvalidOperationException: Operation is not valid due to the current state of the object System 1 Answer