【m】播放音乐初始设置音量异常问题解决

This commit is contained in:
Han
2025-07-22 11:06:30 +08:00
parent 739b6c8c9e
commit 50f3d2078b
2 changed files with 6 additions and 1 deletions

View File

@@ -88,6 +88,11 @@ namespace Stary.Evo.AudioCore
{ {
audioData.volume = 1f; audioData.volume = 1f;
} }
if (audioData.fadeDuration == 0)
{
audioData.fadeDuration = 1f;
}
return audioData; return audioData;
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "com.staryevo.audiocore", "name": "com.staryevo.audiocore",
"version": "1.0.15", "version": "1.0.16",
"displayName": "04.AudioCore", "displayName": "04.AudioCore",
"description": "音频播放工具", "description": "音频播放工具",
"unity": "2021.3", "unity": "2021.3",