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
↧