refactor(audio): restructure audio constants and remove deprecated files

- Add AudioConsts.cs with Cues, NameDictionaries, and Parameters classes
- Remove AudioEnumIds.cs, AudioEnums.cs, and AudioObjectDefinitions.cs
- Update AudioObject.cs to include CueName property and serialization
- Update AudioSystem.cs to use new NameDictionaries and Parameters classes
- Update SetStateBind.cs to use Parameters.GameState type
- Change UI text from "PlaySound" to "StopSound" in SampleScene.unity
- Update binary audio data file AudioObject.bytes
This commit is contained in:
2026-04-17 16:00:19 +08:00
parent 63c5f6766c
commit c87a5a1e30
12 changed files with 290 additions and 240 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ namespace OCES
{
public class SetStateBind : MonoBehaviour
{
public GameState targetGameState;
public Parameters.GameState targetGameState;
public bool enableLowpass;
public Text buttonText;