Example #1
0
    //Vector3 RandomPos()
    //{
    //	int x, y, z;
    //	x = Random.Range(-2, 2);
    //	y = Random.Range(-1, 1);
    //	z = Random.Range(0, 0);
    //	return new Vector3(x, y, z);
    //}

    public void BackToMenu()
    {
        SoundManager_Script.Play_SFX("MenuNavPop");
        SoundManager_Script.Stop_BG_SFX();
        //LoadingScreen.SetActive(true);
        Time.timeScale = 1f;
        SVM_Script.Instance.LoadLevel("MainScene");
    }