Update AudioCategory.cs

This commit is contained in:
ALEXTANG
2023-04-06 17:10:41 +08:00
parent 8adeb50f31
commit 9375c0acec

View File

@@ -32,11 +32,11 @@ namespace TEngine
_bEnable = value;
if (!_bEnable)
{
foreach (var audioData in AudioAgents)
foreach (var audioAgent in AudioAgents)
{
if (audioData != null)
if (audioAgent != null)
{
audioData.Stop();
audioAgent.Stop();
}
}
}