Browse Source

修复MacOS上ab包资源路径问题

tanghai 7 năm trước cách đây
mục cha
commit
bfa32202b2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Unity/Assets/Model/Helper/PathHelper.cs

+ 1 - 1
Unity/Assets/Model/Helper/PathHelper.cs

@@ -39,7 +39,7 @@ namespace ETModel
         {
             get
             {
-#if UNITY_IOS
+#if UNITY_IOS || UNITY_STANDALONE_OSX
                 return $"file://{Application.streamingAssetsPath}";
 #else
                 return Application.streamingAssetsPath;