优化日志

This commit is contained in:
2025-04-10 11:57:13 +08:00
parent 0327583687
commit e94ecccb8b
36 changed files with 156 additions and 36 deletions

View File

@@ -73,7 +73,7 @@ namespace Stary.Evo.AudioCore
if (!poolDict.ContainsKey(type))
{
Debug.LogError($"对象池中不存在类型: {type}");
Debug.LogError($"UnityEvo:对象池中不存在类型: {type}");
return null;
}
@@ -86,7 +86,7 @@ namespace Stary.Evo.AudioCore
}
else
{
Debug.LogWarning($"对象池 {type} 已用完,无法分配新的 AudioSource");
Debug.LogWarning($"UnityEvo:对象池 {type} 已用完,无法分配新的 AudioSource");
return null;
}
@@ -107,7 +107,7 @@ namespace Stary.Evo.AudioCore
{
if (!poolDict.ContainsKey(type))
{
Debug.LogError($"对象池中不存在类型: {type}");
Debug.LogError($"UnityEvo:对象池中不存在类型: {type}");
return;
}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: b0879cbfda12f434f97c3e393664b7ec
guid: a03bd7e1c53a64843bdc29b9bd9c5bb6
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -44,7 +44,7 @@ namespace Stary.Evo.AudioCore
}
else
{
Debug.LogWarning("已同时存在两个背景乐在切换");
Debug.LogWarning("UnityEvo:已同时存在两个背景乐在切换");
}
}