mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update AudioCategory.cs
This commit is contained in:
@@ -32,11 +32,11 @@ namespace TEngine
|
|||||||
_bEnable = value;
|
_bEnable = value;
|
||||||
if (!_bEnable)
|
if (!_bEnable)
|
||||||
{
|
{
|
||||||
foreach (var audioData in AudioAgents)
|
foreach (var audioAgent in AudioAgents)
|
||||||
{
|
{
|
||||||
if (audioData != null)
|
if (audioAgent != null)
|
||||||
{
|
{
|
||||||
audioData.Stop();
|
audioAgent.Stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user