Skip to content

Commit 3c9933c

Browse files
committed
Fix ambigous Logger call due to 'using UnityEngine' for later chapters
1 parent f68c199 commit 3c9933c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MOD.Scripts.Core.Audio/MODAudioSet.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using System.Collections.Generic;
77
using System.IO;
88
using System.Text;
9-
using UnityEngine;
109

1110
namespace MOD.Scripts.Core.Audio
1211
{
@@ -56,7 +55,8 @@ public bool IsInstalledCached()
5655
return false;
5756
}
5857

59-
bool audioSetInstalled = seCascade.IsInstalled(Application.streamingAssetsPath) && bgmCascade.IsInstalled(Application.streamingAssetsPath);
58+
string streamingAssetsPath = UnityEngine.Application.streamingAssetsPath;
59+
bool audioSetInstalled = seCascade.IsInstalled(streamingAssetsPath) && bgmCascade.IsInstalled(streamingAssetsPath);
6060
isInstalled = audioSetInstalled;
6161
return audioSetInstalled;
6262
}

0 commit comments

Comments
 (0)