Beispiel #1
0
 public static void OpenLocalFile(string filePath, DisplayOptions displayOptions)
 {
             #if UNITY_IOS && !UNITY_EDITOR
     var path = InAppBrowser.PathCombine(Application.streamingAssetsPath, filePath);
     iOSInAppBrowser.OpenURL(path, displayOptions);
             #elif UNITY_ANDROID && !UNITY_EDITOR
     AndroidInAppBrowser.OpenURL(filePath, displayOptions);
             #endif
 }