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 1866d4ba40 - Show all commits

View File

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