7fc3282e80
- 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
18 lines
282 B
C#
18 lines
282 B
C#
/*
|
|
* auto generated by tools(注意:千万不要手动修改本文件)
|
|
* EnumIds
|
|
*/
|
|
|
|
namespace OCES.Audio
|
|
{
|
|
public static class EnumIds
|
|
{
|
|
public const uint GameState = 1;
|
|
|
|
public static void RegisterAllGameState()
|
|
{
|
|
StateGroupRegistry.Register<GameState>(1);
|
|
}
|
|
}
|
|
}
|