mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Update AudioModule.cs
This commit is contained in:
@@ -347,6 +347,7 @@ namespace TEngine
|
||||
|
||||
try
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
TypeInfo typeInfo = typeof(AudioSettings).GetTypeInfo();
|
||||
PropertyInfo propertyInfo = typeInfo.GetDeclaredProperty("unityAudioDisabled");
|
||||
_bUnityAudioDisabled = (bool)propertyInfo.GetValue(null);
|
||||
@@ -354,6 +355,7 @@ namespace TEngine
|
||||
{
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user