feat: implement audio object definitions and refactor audio system

- Add AudioObjectDefinitions.cs with name-to-ID mappings and ambiguity detection
- Update AudioSystem.cs to support Play(uint) and deprecated Play(string) with warnings
- Rename PitchStepManager to PitchStepResolver and update all references
- Refactor generated code to use 'this.' prefix and foreach loops
- Remove TestEnum from audio enums and IDs
- Update SampleScene.unity to use new AudioSystem namespace and rain sound parameter
- Optimize binary serialization in generated audio classes
This commit is contained in:
2026-04-02 14:31:46 +08:00
parent 03b06fd83e
commit 89c024e781
18 changed files with 208 additions and 32 deletions
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: df0d032c5bdd48ee8f7575ca11b3667f
timeCreated: 1773749175