Exemple #1
0
    public void UnFreeze()
    {
        GameObject[] powerCookies = GameObject.FindGameObjectsWithTag("PowerCookie");

        foreach (GameObject powerCookie in powerCookies)
        {
            powerCookie.GetComponent <PowerCookieScript>().UnFreeze();
        }

        blinkyScript.UnFreeze();
        inkyScript.UnFreeze();
        pinkyScript.UnFreeze();
        clydeScript.UnFreeze();

        //blinkyScript.ChaseTarget();

        pacmanScript.UnFreeze();

        //PlaySE(currentSE);
        StartBGM();

        this.freeze = false;
    }