/// /// 音频系统常量定义 /// public static class AudioConstant { #region Playback Limits /// /// 最大音乐播放数 /// public const int MaxMusicCount = 1; /// /// 最大音效播放数 /// public const int MaxSoundCount = 100; /// /// 最大语音播放数 /// public const int MaxSpeakCount = 1; #endregion #region Priority Values /// /// 最高优先级 /// public const int MaxPriority = 99; /// /// 最低优先级 /// public const int MinPriority = 0; /// /// 默认优先级 /// public const int DefaultPriority = 29; /// /// 低优先级 /// public const int LowPriority = 30; #endregion #region Fade Duration /// /// 默认淡入时长(秒) /// public const float DefaultFadeInDuration = 2f; /// /// 默认淡出时长(秒) /// public const float DefaultFadeOutDuration = 2f; #endregion }