コード例 #1
0
ファイル: Pacman.cs プロジェクト: ChangeCraft/gppcc12-game
    public void DotCollision(int _earnedScore, AudioClip _sound, bool isPowerPill)
    {
        gameUI.AddToScore(_earnedScore);
        AudioSource.PlayClipAtPoint(_sound, new Vector3(0, 0, 0));

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