I tried following https://www.udemy.com/make-mobile-games-for-kids-with-unity/learn/v4/t/lecture/3746150?start=0, and I’m at 4:15. Unity is telling me “Can’t add script because the script class cannot be found. Make sure there are no compile errors and that the file name and the class don’t match.”
My code looks like this:
public void Playgame ()
{
//Application.LoadLevel("Gameplay"); //-Obsolete
SceneManager.LoadScene("Gameplay");
}
It doesn’t match the code of the video, I had to change to change it because the old code got an error for being obsolete. Does this have anything to do with my problem?