So Unity is telling me:
“WARNING: ‘UnityEngine.Application.LoadLevel(String)’ is obsolete. Use SceneManager.LoadScene”
But I can’t figure out how to use the new function. I’ve tried; SceneManager.LoadScene("mylevel")
and LoadScene("mylevel")
But both throw “unknown identifier” errors. The docs list it as a static function so I assume I don’t need to refer to an instance of “SceneManager”?
I know this isn’t very important since LoadLevel still works but I’d like to do it “properly”.