Skip to content

Commit f383faa

Browse files
authored
Merge pull request #270 from immutable/fix/game-bridge-path-ios
fix: game bridge path for ios device
2 parents 4061b12 + fef6fe3 commit f383faa

File tree

1 file changed

+1
-1
lines changed
  • src/Packages/Passport/Runtime/ThirdParty/ImmutableBrowserCore

1 file changed

+1
-1
lines changed

src/Packages/Passport/Runtime/ThirdParty/ImmutableBrowserCore/GameBridge.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static string GetFilePath()
2626
// macOS
2727
filePath = SCHEME_FILE + Path.GetFullPath(Application.dataPath) + MAC_DATA_DIRECTORY + PASSPORT_DATA_DIRECTORY_NAME + PASSPORT_HTML_FILE_NAME;
2828
filePath = filePath.Replace(" ", "%20");
29-
#elif UNITY_IPHONE
29+
#elif UNITY_IPHONE && !UNITY_EDITOR
3030
// iOS device
3131
filePath = Path.GetFullPath(Application.dataPath) + PASSPORT_DATA_DIRECTORY_NAME + PASSPORT_HTML_FILE_NAME;
3232
#elif UNITY_EDITOR_WIN

0 commit comments

Comments
 (0)