Exemple #1
0
    public void DotCollision(int _earnedScore, AudioClip _sound, bool isPowerPill)
    {
        gameUI.AddToScore(_earnedScore);
        AudioSource.PlayClipAtPoint(_sound, new Vector3(0, 0, 0));

        if (isPowerPill)
        {
            ghostController.PowerPillConsumed();
        }
    }