Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Unknown Identifier when trying to load a new scene with a script.

$
0
0
So, I recently began using Unity and I have been creating small projects, and now I want to add a main menu. I finished making it, got a script to load my 2nd scene (the game itself, from the main menu) and it gives me "Unknown Identifier 'SceneManager' and whenever I change it, it still gives it to me. any way to fix this? I also provided the code in the post. `#pragma strict function OnTriggerEnter (other : Collider){ if (other.gameObject.tag == "Finish"){ %|-139535910_2|% ` } } Hope you can help :) Kind regards /EC

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>