Level Start error :/
Hi... Im here newbie and im making FPS game...
I made this script...(For now im using or just trying to use singleplayer so thats why it has only aplication....)
So...This is my code: using UnityEngine; using System.Collections;
namespace mainMenuScript { public class mainMenuScript : MonoBehaviour { public void mainMenuSinglePlayerPlay() { Debug.Log("mainMenu # Starting Singleplayer scene"); Aplication.LoadLevel(si_test); }
public void mainMenuMultiPlayerPlay()
{
Debug.Log("mainMenu # Starting Multiplayer scene");
}
public void mainMenuSettings()
{
Debug.Log("mainMenu # Starting Settings scene");
}
public void mainMenuExit()
{
Debug.Log("mainMenu # Exit...");
Debug.Log("Exiting game!");
}
}
}
Console says this: https://gyazo.com/94f375e2b5ae49dbd8dda8e540784eec
In my build settings i got:
mainmenu.unity si_test.unity (SINGLEPLAYER MAP)
Answer by Mrslayer01 · Nov 29, 2015 at 09:35 PM
Well all i can see is that Application is spelled wrong try this.
Application.LoadLevel(si_test);
Your answer
Follow this Question
Related Questions
Menu object not responding 0 Answers
A key will not respond 1 Answer
Unity hangs when opening a project. 0 Answers
switch statement issue, any help? 0 Answers
error CS0201 1 Answer