音频回调与音效音量初始化问题解决
This commit is contained in:
@@ -80,7 +80,7 @@ namespace Stary.Evo.AudioCore
|
||||
if (poolDict[type].Count == 0)
|
||||
{
|
||||
// 如果池为空,动态创建新的 GameObject(仅限 SFX 与 Voice)
|
||||
if (type == "SFX" && type == "Voice")
|
||||
if (type == "SFX" || type == "Voice")
|
||||
{
|
||||
CreateAudioSource(type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user