Beispiel #1
0
    public void loadCheckPointLevel()
    {
        if (checkPointLevel == 10)
        {
            Application.LoadLevel("LevelTen");
        }
        else if (checkPointLevel == 20)
        {
            Application.LoadLevel("LevelTwenty");
        }

        if (livesController != null)
        {
            livesControllerScript.loadDeaths();
        }
    }