예제 #1
0
    void Pause()
    {
        player.Pause();
        player.enabled = false;
        //bonus.enabled = false;
        //latentCreature.enabled = false;
        foreach (Zombie z in zombieList)
        {
            z.Pause();
            //z.enabled = false;
        }

        foreach (Bonus b in bonusList)
        {
            b.enabled = false;
        }

        foreach (LatentCreature l in latentCreatureList)
        {
            l.enabled = false;
        }

        foreach (CoolDownTimer cdt in cdTimerList)
        {
            cdt.Pause();
        }


        CD_score.Pause();
        CD_deltaScore.Pause();
        //isPaused = true;
    }