com.typhoon.unitysdk 1.0.82 → 1.0.83
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 +10 -1
- package/Editor/UniEditor.cs +1 -0
- package/Runtime/SdkLite.cs +6 -1
- package/Sources~/Package/Douyin.unitypackage +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/Editor/UniEditor.cs
CHANGED
|
@@ -791,6 +791,7 @@ namespace TyphoonUnitySDK
|
|
|
791
791
|
//请求最新版本信息
|
|
792
792
|
public static async Task<(PackageVersionInfo info, string state)> RequestLatestInfo()
|
|
793
793
|
{
|
|
794
|
+
//判断package.json,使用的国内镜像还是海外镜像
|
|
794
795
|
//从镜像地址中检查
|
|
795
796
|
var url = $"https://registry.npmmirror.com/com.typhoon.unitysdk/latest?{Guid.NewGuid().ToString()}";
|
|
796
797
|
PackageVersionInfo latest = null;
|
package/Runtime/SdkLite.cs
CHANGED
|
@@ -135,6 +135,7 @@ namespace TyphoonUnitySDK
|
|
|
135
135
|
//android端
|
|
136
136
|
if (Application.platform == RuntimePlatform.Android)
|
|
137
137
|
{
|
|
138
|
+
Debug.Log("[TYPHOON] 检查日志开启状态...");
|
|
138
139
|
var dynamicDebug = false;
|
|
139
140
|
try
|
|
140
141
|
{
|
|
@@ -149,9 +150,13 @@ namespace TyphoonUnitySDK
|
|
|
149
150
|
|
|
150
151
|
if (dynamicDebug)
|
|
151
152
|
{
|
|
152
|
-
Debug.Log("发现typhoon_sdk_debug.bin 开启动态调试模式");
|
|
153
|
+
Debug.Log("[TYPHOON] 发现typhoon_sdk_debug.bin 开启动态调试模式");
|
|
153
154
|
SdkDebug.IsDebug = true;
|
|
154
155
|
}
|
|
156
|
+
else
|
|
157
|
+
{
|
|
158
|
+
Debug.Log("[TYPHOON] 检查日志开启状态:关闭");
|
|
159
|
+
}
|
|
155
160
|
}
|
|
156
161
|
}
|
|
157
162
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.
|
|
1
|
+
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.83","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.0.83] - 2024-01-04\r\n\r\n### 新增\n* 抖音小游戏适配动态开启日志模式\r\n\r\n### 修复\n* 抖音侧边栏判断错误问题\r\n\r\n","major_flag":false,"write_time_stamp":1704369822000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
|