示例#1
0
    public void FinishDungeon()
    {
        bartender.NextLevel();
        LevelManager level = GetComponent <LevelManager>();

        level.LoadLevel("2BMap");
    }
    public void WinFight()
    {
        LevelManager level = GetComponent <LevelManager>();

        if (bartender.currentLevel == 15)
        {
            level.LoadLevel("3AScoreboard");
        }
        else
        {
            bartender.NextLevel();
            level.LoadLevel("2BMap");
        }
    }
示例#3
0
    public void LeaveBar()
    {
        LevelManager level = GetComponent <LevelManager>();

        bartender.AutoBartender = true;
        if (firstTime)
        {
            bartender.firstTime = false;
        }
        else
        {
            bartender.NextLevel();
        }
        level.LoadLevel("2BMap");
    }