refactor: use PlayDelayed API for audio delay and add Stop by ID support

- Replace PlayAfterDelay coroutine with AudioSource.PlayDelayed
- Add Stop(audioId) public API
- Add startWithMusic toggle
- Clean up namespace and debug macros
This commit is contained in:
2026-04-17 11:20:17 +08:00
parent 2b34d0bf94
commit accd311e1c
10 changed files with 291 additions and 36 deletions
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace OCES.Audio.HandWritten
namespace OCES.Audio
{
public class VolumeStepResolver
{