Done with Audio Implementation via C# #347

Merged
mushgunAX merged 14 commits from AudioImplementation into main 2023-02-04 10:18:26 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 136d86dce3 - Show all commits

View File

@ -13,7 +13,7 @@ public class ScoringZone : Script
{
if (GameManager.Instance && info.GameObject.GetScript<Item>())
{
Audio.PlaySFXOnce2D("event:/Music/stingers/item_scored");
AudioHandler.audioClipHandlers["SFXItemScore"].Play();
GameManager.Instance.ItemScored();
GameManager.Instance.Score += info.GameObject.GetScript<Item>().Score * GameManager.Instance.currMultiplierCombo;
info.GameObject.SetActive(false);