Mostly-BS-Totally-BA / mostly-bs-totally-ba

3 stars 7 forks source link

Implement sound effects #67 #148

Closed sunyizhou closed 6 years ago

sunyizhou commented 6 years ago

For #67 I add audioManager.cs to manager the interaction between player and object. Also, I add Audio folder to store the sound effects and implement the sounds into Door_Interact.cs, Double_Door_Interact.cs lvl1_Puzzle_Interactions.cs lvl1_puzzle_tip.cs Puzzle_Lvl2.cs Platino_Candles.cs Pickup_key.cs Chest_Interact.cs Treasure_pickup.cs by code

AudioManager.Instance.PlayAudio(AudioName.xxx);