com.typhoon.unitysdk 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -6,8 +6,8 @@ namespace TyphoonUnitySDK
|
|
|
6
6
|
{
|
|
7
7
|
public static class CheckCallBackScript
|
|
8
8
|
{
|
|
9
|
-
private
|
|
10
|
-
"
|
|
9
|
+
private static string TEMPLATE_PAY_CALL_BACK_FILE =
|
|
10
|
+
$"{Paths.GetRoot()}/Editor/CheckPayCallBack/OnPayCallBack.template";
|
|
11
11
|
|
|
12
12
|
[InitializeOnLoadMethod]
|
|
13
13
|
public static void OnInitialize()
|
package/Runtime/Paths.cs
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
using System.IO;
|
|
2
|
+
|
|
3
|
+
namespace TyphoonUnitySDK
|
|
4
|
+
{
|
|
5
|
+
public class Paths
|
|
6
|
+
{
|
|
7
|
+
public static string GetRoot()
|
|
8
|
+
{
|
|
9
|
+
if (!Directory.Exists("Assets/com.typhoon.unitysdk"))
|
|
10
|
+
{
|
|
11
|
+
return "Packages/com.typhoon.unitysdk";
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
return "Assets/com.typhoon.unitysdk";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.1.
|
|
1
|
+
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.1.6","description":"","unity":"2018.1","type":"tool","hideInEditor":false,"author":{"name":"Jan Zhang","email":"","url":""},"changelogUrl":"","documentationUrl":"","keywords":["typhoon"],"license":"","licensesUrl":"","customDependencies":[{"PackageName":"com.unity.nuget.newtonsoft-json","Value":"2.0.0"}],"version_log":"## [1.1.6] - 2025-08-05\r\n\r\n### 修复\n* 应用时OnPayCallBack创建报错问题\r\n\r\n","major_flag":false,"write_time_stamp":1754365334000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
|