diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3d8d371c5..21a314787 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,17 @@ Removed - 删除功能/接口
Fixed - 修复问题
Others - 其他
-->
+## v0.1.25 【普通更新】
+### Feature
+* 普通:性能深入分析工具,支持Lua capture能力
+* 普通:性能深入分析工具,确保未勾选频繁截屏时,开始录制2s后自动截一次
+* 普通:Unity视频组件支持传入本地文件路径,业务可提前下载本地+设置微信本地路径进行播放
+### Fixed
+* 普通: 修正mac系统上针对AddressList的编译报错
+* 普通: 安卓开放数据域退后台需要重绘一次
+* 普通: 更新1.2.67修复鸿蒙includes报错
+* 普通: 适配插件版本升级到1.2.67
+
## 2024-1-7 【重要更新】
### Feature
* 重要:支持Unity6,预览版本不建议上线使用
diff --git a/Editor/WXConvertCore.cs b/Editor/WXConvertCore.cs
index 6f101671e..044185dba 100644
--- a/Editor/WXConvertCore.cs
+++ b/Editor/WXConvertCore.cs
@@ -810,7 +810,7 @@ namespace WeChatWASM
if (WXExtEnvDef.GETDEF("UNITY_2021_2_OR_NEWER"))
{
PlayerSettings.WebGL.emscriptenArgs += " -s EXPORTED_FUNCTIONS=_sbrk,_emscripten_stack_get_base,_emscripten_stack_get_end";
-#if UNITY_2021_2_5
+#if UNITY_2021_2_5 || UNITY_6000_0_OR_NEWER
PlayerSettings.WebGL.emscriptenArgs += ",_main";
#endif
PlayerSettings.WebGL.emscriptenArgs += " -s ERROR_ON_UNDEFINED_SYMBOLS=0";
@@ -876,8 +876,11 @@ namespace WeChatWASM
}
#if UNITY_6000_0_OR_NEWER
- // 从小游戏转换工具里无法直接开启wasm2023特性 会导致转出的webgl异常,所以强制关闭
- PlayerSettings.WebGL.wasm2023 = false;
+ if (config.CompileOptions.enableWasm2023) {
+ PlayerSettings.WebGL.wasm2023 = true;
+ } else {
+ PlayerSettings.WebGL.wasm2023 = false;
+ }
#endif
#if UNITY_2021_2_OR_NEWER
diff --git a/Editor/WXEditorSettingHelper.cs b/Editor/WXEditorSettingHelper.cs
index df27e2567..f5665124f 100644
--- a/Editor/WXEditorSettingHelper.cs
+++ b/Editor/WXEditorSettingHelper.cs
@@ -202,6 +202,10 @@ namespace WeChatWASM
this.formCheckbox("enableProfileStats", "显示性能面板");
this.formCheckbox("enableRenderAnalysis", "显示渲染日志(dev only)");
this.formCheckbox("brotliMT", "brotli多线程压缩(?)", "开启多线程压缩可以提高出包速度,但会降低压缩率。如若不使用wasm代码分包请勿用多线程出包上线");
+#if UNITY_6000_0_OR_NEWER
+ this.formCheckbox("enableWasm2023", "WebAssembly 2023(?)", "WebAssembly 2023包括对WebAssembly.Table和BigInt的支持。(Android (Android 10 or later recommended), iOS (iOS 15 or later recommended))");
+#endif
+
if (m_EnablePerfTool)
{
this.formCheckbox("enablePerfAnalysis", "集成性能分析工具", "将性能分析工具集成入Development Build包中", false, null, OnPerfAnalysisFeatureToggleChanged);
@@ -470,6 +474,9 @@ namespace WeChatWASM
this.setData("enableProfileStats", config.CompileOptions.enableProfileStats);
this.setData("enableRenderAnalysis", config.CompileOptions.enableRenderAnalysis);
this.setData("brotliMT", config.CompileOptions.brotliMT);
+#if UNITY_6000_0_OR_NEWER
+ this.setData("enableWasm2023", config.CompileOptions.enableWasm2023);
+#endif
this.setData("enablePerfAnalysis", config.CompileOptions.enablePerfAnalysis);
this.setData("autoUploadFirstBundle", true);
@@ -542,6 +549,9 @@ namespace WeChatWASM
config.CompileOptions.enableProfileStats = this.getDataCheckbox("enableProfileStats");
config.CompileOptions.enableRenderAnalysis = this.getDataCheckbox("enableRenderAnalysis");
config.CompileOptions.brotliMT = this.getDataCheckbox("brotliMT");
+#if UNITY_6000_0_OR_NEWER
+ config.CompileOptions.enableWasm2023 = this.getDataCheckbox("enableWasm2023");
+#endif
config.CompileOptions.enablePerfAnalysis = this.getDataCheckbox("enablePerfAnalysis");
// font options
diff --git a/Editor/WXPluginVersion.cs b/Editor/WXPluginVersion.cs
index 434c1de50..da8b23d24 100644
--- a/Editor/WXPluginVersion.cs
+++ b/Editor/WXPluginVersion.cs
@@ -2,7 +2,7 @@ namespace WeChatWASM
{
public class WXPluginVersion
{
- public static string pluginVersion = "202503171222"; // 这一行不要改他,导出的时候会自动替换
+ public static string pluginVersion = "202503181106"; // 这一行不要改他,导出的时候会自动替换
}
public class WXPluginConf
diff --git a/Editor/wx-editor.dll b/Editor/wx-editor.dll
index b0642e413..9d986f6ef 100644
Binary files a/Editor/wx-editor.dll and b/Editor/wx-editor.dll differ
diff --git a/Editor/wx-editor.xml b/Editor/wx-editor.xml
index 1df2b5611..6dc11b213 100644
--- a/Editor/wx-editor.xml
+++ b/Editor/wx-editor.xml
@@ -638,6 +638,11 @@
是否使用brotli多线程压缩
+
+
+ 是否开启 WebAssembly2023特性
+
+
基本汉字 [0x4e00, 0x9fff] https://www.unicode.org/charts/PDF/U4E00.pdf
diff --git a/Runtime/DisableKeyboardInput.cs b/Runtime/DisableKeyboardInput.cs
index fa300352b..62ec5b549 100644
--- a/Runtime/DisableKeyboardInput.cs
+++ b/Runtime/DisableKeyboardInput.cs
@@ -14,7 +14,7 @@ internal class DisableKeyboardInput : MonoBehaviour
WeixinMiniGameInput.mobileKeyboardSupport = false;
#elif PLATFORM_WEBGL
#if UNITY_2022_1_OR_NEWER
- WebGLInput.mobileKeyboardSupport = false;
+ WebGLInput.mobileKeyboardSupport = false;
#endif
#endif
#endif
diff --git a/Runtime/Plugins/wx-perf.dll b/Runtime/Plugins/wx-perf.dll
index 30664c512..fbbad637a 100644
Binary files a/Runtime/Plugins/wx-perf.dll and b/Runtime/Plugins/wx-perf.dll differ
diff --git a/Runtime/Plugins/wx-runtime-editor.dll b/Runtime/Plugins/wx-runtime-editor.dll
index 241fd283c..60bb4382e 100644
Binary files a/Runtime/Plugins/wx-runtime-editor.dll and b/Runtime/Plugins/wx-runtime-editor.dll differ
diff --git a/Runtime/Plugins/wx-runtime-editor.xml b/Runtime/Plugins/wx-runtime-editor.xml
index 7964732a4..37d9fdc87 100644
--- a/Runtime/Plugins/wx-runtime-editor.xml
+++ b/Runtime/Plugins/wx-runtime-editor.xml
@@ -1395,25 +1395,25 @@
运行JS函数
-
+
[LogManager.debug()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/LogManager.debug.html)
写 debug 日志
-
+
[LogManager.info()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/LogManager.info.html)
写 info 日志
-
+
[LogManager.log()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/LogManager.log.html)
写 log 日志
-
+
[LogManager.warn()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/LogManager.warn.html)
写 warn 日志
@@ -3144,41 +3144,6 @@
接口调用成功的回调函数
-
-
- 错误信息
-
-
-
-
- 是否成功
-
-
-
-
- 一个表示控制器设备上存在的坐标轴的数组 (比如控制器摇杆)。
-
-
-
-
- 设备上的按键的数组。
-
-
-
-
- 控制器是否仍然连接着系统.
-
-
-
-
- 一个包含着控制器标识信息的 string
-
-
-
-
- 一个自增的整形数字,对于当前连接到系统的每一个设备是唯一的
-
-
小程序账号信息
@@ -3331,8 +3296,8 @@
- 需要基础库: `3.5.0`
- 是否处于省电模式
+ 需要基础库: `3.4.3`
+ 是否处于省电模式,目前仅 iOS 端支持
@@ -3656,7 +3621,6 @@
可选值:
- 'ios': iOS微信(包含 iPhone、iPad);
- 'android': Android微信;
- - 'ohos': HarmonyOS微信;
- 'windows': Windows微信;
- 'mac': macOS微信;
- 'devtools': 微信开发者工具;
@@ -3843,7 +3807,7 @@
需要基础库: `2.10.4`
- 是否开启 Quic/h3 协议(iOS 微信目前使用 gQUIC-Q43;Android 微信在 v8.0.54 前使用 gQUIC-Q43,v8.0.54 开始使用 IETF QUIC,即 h3 协议;PC微信使用 IETF QUIC,即 h3 协议)
+ 是否开启 Quic 协议(gQUIC Q43)
@@ -4319,7 +4283,7 @@
- 经过加密的activityId,解密后可得到原始的activityId。若解密后得到的activityId可以与开发者后台的活动id对应上则验证通过,否则表明valid字段不可靠(被篡改) 详细见[加密数据解密算法](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/signature.html)
+ 经过加密的activityId,解密后可得到原始的activityId。若解密后得到的activityId可以与开发者后台的活动id对应上则验证通过,否则表明valid字段不可靠(被篡改) 详细见[加密数据解密算法](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html)
@@ -5676,8 +5640,8 @@
- 需要基础库: `3.5.0`
- 是否处于省电模式
+ 需要基础库: `3.4.3`
+ 是否处于省电模式,目前仅 iOS 端支持
@@ -6344,21 +6308,6 @@
接口调用成功的回调函数
-
-
- 动态令牌
-
-
-
-
- 回调信息(成功失败都会返回)
-
-
-
-
- 错误码(失败时返回)
-
-
接口调用结束的回调函数(调用成功、失败都会执行)
@@ -6505,41 +6454,6 @@
超时时间,单位 ms
-
-
- 接口调用结束的回调函数(调用成功、失败都会执行)
-
-
-
-
- 接口调用失败的回调函数
-
-
-
-
- 接口调用成功的回调函数
-
-
-
-
- 封面广告组件展示状态码
- 可选值:
- - -1: 初始值,状态未知;
- - 1: 展示成功;
- - 2: 主动拦截过滤,不展示广告;
- - 3: 展示超时;
-
-
-
-
- 封面广告组件展示状态
- 可选值:
- - 'unknown': 初始值,状态未知;
- - 'pending': 进行展示中;
- - 'success': 展示成功;
- - 'fail': 展示失败;
-
-
接口调用结束的回调函数(调用成功、失败都会执行)
@@ -7030,7 +6944,7 @@
- 用户登录凭证(有效期五分钟)。开发者需要在开发者服务器后台调用 [code2Session](https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/user-login/code2Session.html),使用 code 换取 openid、unionid、session_key 等信息
+ 用户登录凭证(有效期五分钟)。开发者需要在开发者服务器后台调用 [code2Session](#),使用 code 换取 openid、unionid、session_key 等信息
@@ -7350,16 +7264,6 @@
错误调用堆栈
-
-
- 本次连接到的 Gamepad 实例。
-
-
-
-
- 本次断开的 Gamepad 实例。
-
-
需要传递给接力客户端的 query
@@ -7399,6 +7303,36 @@
- 15: TRIM_MEMORY_RUNNING_CRITICAL;
+
+
+ 下边界坐标,单位:px
+
+
+
+
+ 高度,单位:px
+
+
+
+
+ 左边界坐标,单位:px
+
+
+
+
+ 右边界坐标,单位:px
+
+
+
+
+ 上边界坐标,单位:px
+
+
+
+
+ 宽度,单位:px
+
+
按键类型,0左键,1中键,2右键
@@ -7480,6 +7414,16 @@
- 'stop': 结束录屏;
+
+
+ 错误信息
+
+
+
+
+ 是否成功
+
+
转发显示图片的链接,可以是网络图片路径或本地图片文件路径或相对代码包根目录的图片文件路径。(该图片用于分享到朋友圈的卡片以及从朋友圈转发到会话消息的卡片展示)
@@ -7494,12 +7438,12 @@
需要基础库: `2.14.3`
- 审核通过的朋友圈预览图图片编号,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
+ 审核通过的朋友圈预览图图片 ID,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
- 审核通过的图片编号,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
+ 审核通过的图片 ID,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
@@ -8009,21 +7953,11 @@
对局回放背景音乐的地址
-
-
- 接口调用结束的回调函数(调用成功、失败都会执行)
-
-
分享的对局回放打开后的描述内容
-
-
- 接口调用失败的回调函数
-
-
分享的对局回放打开后跳转小游戏的 path (独立分包路径)
@@ -8034,11 +7968,6 @@
分享的对局回放打开后跳转小游戏的 query
-
-
- 接口调用成功的回调函数
-
-
对局回放的剪辑区间,是一个二维数组,单位 ms(毫秒)。[[1000, 3000], [4000, 5000]] 表示剪辑已录制对局回放的 1-3 秒和 4-5 秒最终合成为一个 3 秒的对局回放。对局回放剪辑后的总时长最多 60 秒,即 1 分钟
@@ -8641,7 +8570,7 @@
- 系统订阅消息类型列表,一次调用最多可订阅3种类型的消息,目前支持:"SYS_MSG_TYPE_INTERACTIVE"(好友互动提醒)、"SYS_MSG_TYPE_RANK"(排行榜超越提醒)、"SYS_MSG_TYPE_WHATS_NEW"(游戏更新提醒)
+ 系统订阅消息类型列表,一次调用最多可订阅3种类型的消息,目前支持两种类型,"SYS_MSG_TYPE_INTERACTIVE"(好友互动提醒)、"SYS_MSG_TYPE_RANK"(排行榜超越提醒)
@@ -8765,7 +8694,6 @@
可选值:
- 'barCode': 一维码;
- 'qrCode': 二维码;
- - 'wxCode': 小程序码;
- 'datamatrix': Data Matrix 码;
- 'pdf417': PDF417 条码;
@@ -9112,7 +9040,7 @@
需要基础库: `2.4.3`
- 审核通过的图片编号,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
+ 审核通过的图片 ID,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
@@ -9171,7 +9099,7 @@
- 当点击完成时键盘是否保持显示
+ 当点击完成时键盘是否收起
@@ -10125,14 +10053,14 @@
添加过滤关键字,暂不支持在插件使用
-
+
[RealtimeLogManager.error()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/RealtimeLogManager.error.html)
需要基础库: `2.14.4`
写 error 日志,暂不支持在插件使用
-
+
[RealtimeLogManager.info()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/RealtimeLogManager.info.html)
需要基础库: `2.14.4`
@@ -10146,7 +10074,7 @@
设置过滤关键字,暂不支持在插件使用
-
+
[RealtimeLogManager.warn()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/RealtimeLogManager.warn.html)
需要基础库: `2.14.4`
diff --git a/Runtime/Plugins/wx-runtime.dll b/Runtime/Plugins/wx-runtime.dll
index 8c42f43ab..568bf8b0c 100644
Binary files a/Runtime/Plugins/wx-runtime.dll and b/Runtime/Plugins/wx-runtime.dll differ
diff --git a/Runtime/Plugins/wx-runtime.xml b/Runtime/Plugins/wx-runtime.xml
index 004e076b2..63c0b1c5b 100644
--- a/Runtime/Plugins/wx-runtime.xml
+++ b/Runtime/Plugins/wx-runtime.xml
@@ -1401,25 +1401,25 @@
运行JS函数
-
+
[LogManager.debug()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/LogManager.debug.html)
写 debug 日志
-
+
[LogManager.info()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/LogManager.info.html)
写 info 日志
-
+
[LogManager.log()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/LogManager.log.html)
写 log 日志
-
+
[LogManager.warn()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/LogManager.warn.html)
写 warn 日志
@@ -3150,41 +3150,6 @@
接口调用成功的回调函数
-
-
- 错误信息
-
-
-
-
- 是否成功
-
-
-
-
- 一个表示控制器设备上存在的坐标轴的数组 (比如控制器摇杆)。
-
-
-
-
- 设备上的按键的数组。
-
-
-
-
- 控制器是否仍然连接着系统.
-
-
-
-
- 一个包含着控制器标识信息的 string
-
-
-
-
- 一个自增的整形数字,对于当前连接到系统的每一个设备是唯一的
-
-
小程序账号信息
@@ -3337,8 +3302,8 @@
- 需要基础库: `3.5.0`
- 是否处于省电模式
+ 需要基础库: `3.4.3`
+ 是否处于省电模式,目前仅 iOS 端支持
@@ -3662,7 +3627,6 @@
可选值:
- 'ios': iOS微信(包含 iPhone、iPad);
- 'android': Android微信;
- - 'ohos': HarmonyOS微信;
- 'windows': Windows微信;
- 'mac': macOS微信;
- 'devtools': 微信开发者工具;
@@ -3849,7 +3813,7 @@
需要基础库: `2.10.4`
- 是否开启 Quic/h3 协议(iOS 微信目前使用 gQUIC-Q43;Android 微信在 v8.0.54 前使用 gQUIC-Q43,v8.0.54 开始使用 IETF QUIC,即 h3 协议;PC微信使用 IETF QUIC,即 h3 协议)
+ 是否开启 Quic 协议(gQUIC Q43)
@@ -4325,7 +4289,7 @@
- 经过加密的activityId,解密后可得到原始的activityId。若解密后得到的activityId可以与开发者后台的活动id对应上则验证通过,否则表明valid字段不可靠(被篡改) 详细见[加密数据解密算法](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/signature.html)
+ 经过加密的activityId,解密后可得到原始的activityId。若解密后得到的activityId可以与开发者后台的活动id对应上则验证通过,否则表明valid字段不可靠(被篡改) 详细见[加密数据解密算法](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/signature.html)
@@ -5682,8 +5646,8 @@
- 需要基础库: `3.5.0`
- 是否处于省电模式
+ 需要基础库: `3.4.3`
+ 是否处于省电模式,目前仅 iOS 端支持
@@ -6350,21 +6314,6 @@
接口调用成功的回调函数
-
-
- 动态令牌
-
-
-
-
- 回调信息(成功失败都会返回)
-
-
-
-
- 错误码(失败时返回)
-
-
接口调用结束的回调函数(调用成功、失败都会执行)
@@ -6511,41 +6460,6 @@
超时时间,单位 ms
-
-
- 接口调用结束的回调函数(调用成功、失败都会执行)
-
-
-
-
- 接口调用失败的回调函数
-
-
-
-
- 接口调用成功的回调函数
-
-
-
-
- 封面广告组件展示状态码
- 可选值:
- - -1: 初始值,状态未知;
- - 1: 展示成功;
- - 2: 主动拦截过滤,不展示广告;
- - 3: 展示超时;
-
-
-
-
- 封面广告组件展示状态
- 可选值:
- - 'unknown': 初始值,状态未知;
- - 'pending': 进行展示中;
- - 'success': 展示成功;
- - 'fail': 展示失败;
-
-
接口调用结束的回调函数(调用成功、失败都会执行)
@@ -7036,7 +6950,7 @@
- 用户登录凭证(有效期五分钟)。开发者需要在开发者服务器后台调用 [code2Session](https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/user-login/code2Session.html),使用 code 换取 openid、unionid、session_key 等信息
+ 用户登录凭证(有效期五分钟)。开发者需要在开发者服务器后台调用 [code2Session](#),使用 code 换取 openid、unionid、session_key 等信息
@@ -7356,16 +7270,6 @@
错误调用堆栈
-
-
- 本次连接到的 Gamepad 实例。
-
-
-
-
- 本次断开的 Gamepad 实例。
-
-
需要传递给接力客户端的 query
@@ -7405,6 +7309,36 @@
- 15: TRIM_MEMORY_RUNNING_CRITICAL;
+
+
+ 下边界坐标,单位:px
+
+
+
+
+ 高度,单位:px
+
+
+
+
+ 左边界坐标,单位:px
+
+
+
+
+ 右边界坐标,单位:px
+
+
+
+
+ 上边界坐标,单位:px
+
+
+
+
+ 宽度,单位:px
+
+
按键类型,0左键,1中键,2右键
@@ -7486,6 +7420,16 @@
- 'stop': 结束录屏;
+
+
+ 错误信息
+
+
+
+
+ 是否成功
+
+
转发显示图片的链接,可以是网络图片路径或本地图片文件路径或相对代码包根目录的图片文件路径。(该图片用于分享到朋友圈的卡片以及从朋友圈转发到会话消息的卡片展示)
@@ -7500,12 +7444,12 @@
需要基础库: `2.14.3`
- 审核通过的朋友圈预览图图片编号,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
+ 审核通过的朋友圈预览图图片 ID,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
- 审核通过的图片编号,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
+ 审核通过的图片 ID,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
@@ -8015,21 +7959,11 @@
对局回放背景音乐的地址
-
-
- 接口调用结束的回调函数(调用成功、失败都会执行)
-
-
分享的对局回放打开后的描述内容
-
-
- 接口调用失败的回调函数
-
-
分享的对局回放打开后跳转小游戏的 path (独立分包路径)
@@ -8040,11 +7974,6 @@
分享的对局回放打开后跳转小游戏的 query
-
-
- 接口调用成功的回调函数
-
-
对局回放的剪辑区间,是一个二维数组,单位 ms(毫秒)。[[1000, 3000], [4000, 5000]] 表示剪辑已录制对局回放的 1-3 秒和 4-5 秒最终合成为一个 3 秒的对局回放。对局回放剪辑后的总时长最多 60 秒,即 1 分钟
@@ -8647,7 +8576,7 @@
- 系统订阅消息类型列表,一次调用最多可订阅3种类型的消息,目前支持:"SYS_MSG_TYPE_INTERACTIVE"(好友互动提醒)、"SYS_MSG_TYPE_RANK"(排行榜超越提醒)、"SYS_MSG_TYPE_WHATS_NEW"(游戏更新提醒)
+ 系统订阅消息类型列表,一次调用最多可订阅3种类型的消息,目前支持两种类型,"SYS_MSG_TYPE_INTERACTIVE"(好友互动提醒)、"SYS_MSG_TYPE_RANK"(排行榜超越提醒)
@@ -8771,7 +8700,6 @@
可选值:
- 'barCode': 一维码;
- 'qrCode': 二维码;
- - 'wxCode': 小程序码;
- 'datamatrix': Data Matrix 码;
- 'pdf417': PDF417 条码;
@@ -9118,7 +9046,7 @@
需要基础库: `2.4.3`
- 审核通过的图片编号,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
+ 审核通过的图片 ID,详见 [使用审核通过的转发图片](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/share/share.html#使用审核通过的转发图片)
@@ -9177,7 +9105,7 @@
- 当点击完成时键盘是否保持显示
+ 当点击完成时键盘是否收起
@@ -10131,14 +10059,14 @@
添加过滤关键字,暂不支持在插件使用
-
+
[RealtimeLogManager.error()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/RealtimeLogManager.error.html)
需要基础库: `2.14.4`
写 error 日志,暂不支持在插件使用
-
+
[RealtimeLogManager.info()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/RealtimeLogManager.info.html)
需要基础库: `2.14.4`
@@ -10152,7 +10080,7 @@
设置过滤关键字,暂不支持在插件使用
-
+
[RealtimeLogManager.warn()](https://developers.weixin.qq.com/minigame/dev/api/base/debug/RealtimeLogManager.warn.html)
需要基础库: `2.14.4`
diff --git a/Runtime/WX.cs b/Runtime/WX.cs
index 9271d69ae..da06f19a3 100644
--- a/Runtime/WX.cs
+++ b/Runtime/WX.cs
@@ -1,6 +1,5 @@
#if UNITY_WEBGL || WEIXINMINIGAME || UNITY_EDITOR
using System;
-using System.Collections.Generic;
namespace WeChatWASM
{
@@ -279,7 +278,7 @@ namespace WeChatWASM
///
/// [wx.exitMiniProgram(Object object)](https://developers.weixin.qq.com/minigame/dev/api/navigate/wx.exitMiniProgram.html)
/// 需要基础库: `2.17.3`
- /// 退出当前小程序
+ /// 退出当前小程序。必须有点击行为才能调用成功。
///
public static void ExitMiniProgram(ExitMiniProgramOption callback)
{
@@ -629,7 +628,7 @@ namespace WeChatWASM
/// **encryptedData 解密后得到的 GameClubData 的结构**
/// | 属性 | 类型 | 说明 |
/// | ------- | ------- | -------------------------------------- |
- /// | dataList | Array\ | 游戏圈相关数据的对象数组 |
+ /// | dataList | Array | 游戏圈相关数据的对象数组 |
/// **GameClubDataByType 的结构**
/// | 属性 | 类型 | 说明 |
/// | ------- |------- | -------------------------------------- |
@@ -738,6 +737,9 @@ namespace WeChatWASM
///
/// [wx.getPhoneNumber(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/user-info/wx.getPhoneNumber.html)
/// 手机号快速验证,向用户申请,并在用户同意后,快速填写和验证手机 [具体说明](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/getPhoneNumber.html)
+ /// ****
+ /// ## 注意事项
+ /// - 用户点击后才可进行调用
///
public static void GetPhoneNumber(GetPhoneNumberOption callback)
{
@@ -788,11 +790,10 @@ namespace WeChatWASM
/// **示例代码**
/// ```js
/// wx.getScreenRecordingState({
- /// success: function (res) {
- /// console.log(res.state)
- /// },
+ /// success: function (res) {
+ /// console.log(res.state)
+ /// },
/// })
- /// ```
///
public static void GetScreenRecordingState(GetScreenRecordingStateOption callback)
{
@@ -864,25 +865,6 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.GetShareInfo(callback);
}
- ///
- /// [wx.getShowSplashAdStatus(Object object)](https://developers.weixin.qq.com/minigame/dev/api/ad/wx.getShowSplashAdStatus.html)
- /// 需要基础库: `3.7.8`
- /// 获取封面广告组件展示状态。请通过 [wx.getSystemInfoSync()](https://developers.weixin.qq.com/minigame/dev/api/base/system/wx.getSystemInfoSync.html) 返回对象的 SDKVersion 判断基础库版本号后再使用该 API(小游戏端要求 >= 3.7.8, 小程序端要求 >= 3.7.8)。
- /// **示例代码**
- /// ```js
- /// // 获取封面广告展示状态
- /// wx.getShowSplashAdStatus({
- /// success: res => {
- /// console.log('getShowSplashAdStatus res', res.status, res.code)
- /// },
- /// })
- /// ```
- ///
- public static void GetShowSplashAdStatus(GetShowSplashAdStatusOption callback)
- {
- WXSDKManagerHandler.Instance.GetShowSplashAdStatus(callback);
- }
-
///
/// [wx.getStorageInfo(Object object)](https://developers.weixin.qq.com/minigame/dev/api/storage/wx.getStorageInfo.html)
/// 异步获取当前storage的相关信息。
@@ -1382,7 +1364,7 @@ namespace WeChatWASM
///
/// [wx.openCustomerServiceChat(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/service-chat/wx.openCustomerServiceChat.html)
/// 需要基础库: `2.30.4`
- /// 打开微信客服,页面产生点击事件后才可调用。了解更多信息,可以参考[微信客服介绍](https://work.weixin.qq.com/kf/)。
+ /// 打开微信客服,页面产生点击事件(例如 button 上 bindtap 的回调中)后才可调用。了解更多信息,可以参考[微信客服介绍](https://work.weixin.qq.com/kf/)。
/// **示例代码**
/// ```js
/// wx.openCustomerServiceChat({
@@ -1400,7 +1382,7 @@ namespace WeChatWASM
///
/// [wx.openCustomerServiceConversation(Object object)](https://developers.weixin.qq.com/minigame/dev/api/open-api/customer-message/wx.openCustomerServiceConversation.html)
/// 需要基础库: `2.0.3`
- /// 进入客服会话。要求在用户发生过至少一次 touch 事件后才能调用。后台接入方式与小程序一致,详见 [客服消息接入](#)
+ /// 进入客服会话。要求在用户发生过至少一次 touch 事件后才能调用。后台接入方式与小程序一致,详见 [客服消息接入](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/customer-message/customer-message.html)
/// **注意事项**
/// - 在客服会话内点击小程序消息卡片进入小程序时,不能通过 wx.onShow 或 wx.getEnterOptionsSync 等接口获取启动路径和参数,而是应该通过 wx.openCustomerServiceConversation 接口的 success 回调获取启动路径和参数
///
@@ -1473,16 +1455,6 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.OpenSystemBluetoothSetting(callback);
}
- ///
- /// [wx.operateGameRecorderVideo(Object object)](https://developers.weixin.qq.com/minigame/dev/api/game-recorder/wx.operateGameRecorderVideo.html)
- /// 需要基础库: `2.26.1`
- /// 分享游戏对局回放。安卓微信8.0.28开始支持,iOS微信8.0.30开始支持。
- ///
- public static void OperateGameRecorderVideo(OperateGameRecorderVideoOption callback)
- {
- WXSDKManagerHandler.Instance.OperateGameRecorderVideo(callback);
- }
-
///
/// [wx.previewImage(Object object)](https://developers.weixin.qq.com/minigame/dev/api/media/image/wx.previewImage.html)
/// 在新页面中全屏预览图片。预览的过程中用户可以进行保存图片、发送给朋友等操作。
@@ -1766,6 +1738,7 @@ namespace WeChatWASM
/// 需要基础库: `2.9.4`
/// 调起小游戏系统订阅消息界面,返回用户订阅消息的操作结果。当用户勾选了订阅面板中的“总是保持以上选择,不再询问”时,模板消息会被添加到用户的小游戏设置页,通过 [wx.getSetting](https://developers.weixin.qq.com/minigame/dev/api/open-api/setting/wx.getSetting.html) 接口可获取用户对相关模板消息的订阅状态。
/// ## 注意事项
+ /// - 需要在 touchend 事件的回调中调用。
/// - 使用前建议阅读 [小游戏系统订阅消息使用指引](https://developers.weixin.qq.com/minigame/dev/guide/open-ability/subscribe-system-message.html)。
/// - 系统订阅消息只需要订阅一次,永久有效。
/// **错误码**
@@ -2162,7 +2135,7 @@ namespace WeChatWASM
///
/// [wx.showShareMenu(Object object)](https://developers.weixin.qq.com/minigame/dev/api/share/wx.showShareMenu.html)
/// 需要基础库: `1.1.0`
- /// 设置右上角点开的详情界面中的分享按钮是否可用
+ /// 显示当前页面的转发按钮
/// ****
/// ## 注意事项
/// - "shareAppMessage"表示“发送给朋友”按钮,"shareTimeline"表示“分享到朋友圈”按钮
@@ -2577,6 +2550,16 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.ExitPointerLock();
}
+ ///
+ /// [wx.operateGameRecorderVideo(Object object)](https://developers.weixin.qq.com/minigame/dev/api/game-recorder/wx.operateGameRecorderVideo.html)
+ /// 需要基础库: `2.26.1`
+ /// 分享游戏对局回放。安卓微信8.0.28开始支持,iOS微信8.0.30开始支持。
+ ///
+ public static void OperateGameRecorderVideo(OperateGameRecorderVideoOption option)
+ {
+ WXSDKManagerHandler.Instance.OperateGameRecorderVideo(option);
+ }
+
///
/// [wx.removeStorageSync(string key)](https://developers.weixin.qq.com/minigame/dev/api/storage/wx.removeStorageSync.html)
/// [wx.removeStorage](https://developers.weixin.qq.com/minigame/dev/api/storage/wx.removeStorage.html) 的同步版本
@@ -2607,7 +2590,7 @@ namespace WeChatWASM
/// 需要基础库: `2.14.4`
/// 事件上报
///
- public static void ReportEvent(string eventId, Dictionary data)
+ public static void ReportEvent(string eventId, T data)
{
WXSDKManagerHandler.Instance.ReportEvent(eventId, data);
}
@@ -2630,7 +2613,7 @@ namespace WeChatWASM
///
/// [wx.reportUserBehaviorBranchAnalytics(Object object)](https://developers.weixin.qq.com/minigame/dev/api/data-analysis/wx.reportUserBehaviorBranchAnalytics.html)
/// 需要基础库: `2.12.0`
- /// 上报场景分析,用于UI组件(一般是按钮)相关事件的上报,事件目前有曝光、点击两种,查看[相关文档](https://developers.weixin.qq.com/minigame/analysis/selfanalysis.html)
+ /// 用于分支相关的UI组件(一般是按钮)相关事件的上报,事件目前有曝光、点击两种
///
public static void ReportUserBehaviorBranchAnalytics(ReportUserBehaviorBranchAnalyticsOption option)
{
@@ -2641,13 +2624,13 @@ namespace WeChatWASM
/// [wx.requestPointerLock()](https://developers.weixin.qq.com/minigame/dev/api/render/cursor/wx.requestPointerLock.html)
/// 需要基础库: `3.2.0`
/// 锁定鼠标指针。锁定指针后,鼠标会被隐藏,可以通过 [wx.touchMove](#) 事件获取鼠标偏移量。 **此接口仅在 Windows、Mac 端支持,且必须在用户进行操作后才可调用。**
- /// **示例代码**
+ /// **示例代码
/// ```js
/// wx.onTouchEnd(() => {
/// wx.requestPointerLock() // 触发鼠标锁定
/// })
/// ```
- /// **示例 demo**
+ /// 示例 demo**
/// 下方打开后点按窗口会鼠标锁定,同时会在 touchMove 时持续在控制台打印偏移量。
/// [https://developers.weixin.qq.com/s/wGruMHm97tMF](https://developers.weixin.qq.com/s/wGruMHm97tMF)
///
@@ -3001,36 +2984,6 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.OffError(error);
}
- ///
- /// [wx.onGamepadConnected(function listener)](https://developers.weixin.qq.com/minigame/dev/api/device/gamepad/wx.onGamepadConnected.html)
- /// 需要基础库: `3.6.4`
- /// 监听用户已连接游戏手柄的事件。
- ///
- public static void OnGamepadConnected(Action result)
- {
- WXSDKManagerHandler.Instance.OnGamepadConnected(result);
- }
-
- public static void OffGamepadConnected(Action result)
- {
- WXSDKManagerHandler.Instance.OffGamepadConnected(result);
- }
-
- ///
- /// [wx.onGamepadDisconnected(function listener)](https://developers.weixin.qq.com/minigame/dev/api/device/gamepad/wx.onGamepadDisconnected.html)
- /// 需要基础库: `3.6.4`
- /// 监听用户断开游戏手柄的事件。
- ///
- public static void OnGamepadDisconnected(Action result)
- {
- WXSDKManagerHandler.Instance.OnGamepadDisconnected(result);
- }
-
- public static void OffGamepadDisconnected(Action result)
- {
- WXSDKManagerHandler.Instance.OffGamepadDisconnected(result);
- }
-
///
/// [wx.onHide(function listener)](https://developers.weixin.qq.com/minigame/dev/api/base/app/life-cycle/wx.onHide.html)
/// 监听小游戏隐藏到后台事件。锁屏、按 HOME 键退到桌面、显示在聊天顶部等操作会触发此事件。
@@ -3092,7 +3045,7 @@ namespace WeChatWASM
///
/// [wx.onKeyboardComplete(function listener)](https://developers.weixin.qq.com/minigame/dev/api/device/keyboard/wx.onKeyboardComplete.html)
- /// 监听键盘收起的事件
+ /// 监听监听键盘收起的事件
///
public static void OnKeyboardComplete(Action result)
{
@@ -3161,9 +3114,9 @@ namespace WeChatWASM
/// **示例代码**
/// ```js
/// wx.onMemoryWarning(function () {
- /// console.log('onMemoryWarningReceive')
+ /// console.log('onMemoryWarningReceive')
/// })
- /// ```
+ /// ``
///
public static void OnMemoryWarning(Action result)
{
@@ -3175,6 +3128,28 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.OffMemoryWarning(result);
}
+ ///
+ /// [wx.onMenuButtonBoundingClientRectWeightChange(function listener)](https://developers.weixin.qq.com/minigame/dev/api/ui/menu/wx.onMenuButtonBoundingClientRectWeightChange.html)
+ /// 需要基础库: `3.4.3`
+ /// 监听菜单按钮(右上角胶囊按钮)的布局位置信息变化事件
+ /// **示例代码**
+ /// ```js
+ /// const callback = res => console.log('menuButtonBoundingClientRectWeightChange', res)
+ /// wx.onMenuButtonBoundingClientRectWeightChange(callback)
+ /// // 取消监听
+ /// wx.offMenuButtonBoundingClientRectWeightChange(callback)
+ /// ```
+ ///
+ public static void OnMenuButtonBoundingClientRectWeightChange(Action result)
+ {
+ WXSDKManagerHandler.Instance.OnMenuButtonBoundingClientRectWeightChange(result);
+ }
+
+ public static void OffMenuButtonBoundingClientRectWeightChange(Action result)
+ {
+ WXSDKManagerHandler.Instance.OffMenuButtonBoundingClientRectWeightChange(result);
+ }
+
///
/// [wx.onMessage(function callback)](https://developers.weixin.qq.com/minigame/dev/api/open-api/context/wx.onMessage.html)
/// 监听主域发送的消息
@@ -3531,24 +3506,6 @@ namespace WeChatWASM
WXSDKManagerHandler.Instance.OffGameLiveStateChange(callback);
}
- ///
- /// [Array.<Object> wx.getGamepads()](https://developers.weixin.qq.com/minigame/dev/api/device/gamepad/wx.getGamepads.html)
- /// 需要基础库: `3.6.4`
- /// 获取已连接的游戏手柄信息,仅在 PC 平台支持。
- /// **示例代码**
- /// ```js
- /// const gamepads = wx.getGamepads();
- /// console.log(gamepads);
- /// ```
- /// **示例代码片段**
- /// [在微信开发者工具中查看示例](https://developers.weixin.qq.com/s/6al1r2m17oV6)
- ///
- ///
- public static Gamepad[] GetGamepads()
- {
- return WXSDKManagerHandler.GetGamepads();
- }
-
///
/// [Boolean wx.setHandoffQuery(String query)](https://developers.weixin.qq.com/minigame/dev/api/share/wx.setHandoffQuery.html)
/// 需要基础库: `2.14.4`
@@ -3702,9 +3659,9 @@ namespace WeChatWASM
/// 而 wx.getExptInfoSync(['color']) 则只会返回 `{color:'#fff'}`
///
///
- public static Dictionary GetExptInfoSync(string[] keys)
+ public static T GetExptInfoSync(string[] keys)
{
- return WXSDKManagerHandler.GetExptInfoSync(keys);
+ return WXSDKManagerHandler.GetExptInfoSync(keys);
}
///
@@ -3720,9 +3677,9 @@ namespace WeChatWASM
/// ```
///
///
- public static Dictionary GetExtConfigSync()
+ public static T GetExtConfigSync()
{
- return WXSDKManagerHandler.GetExtConfigSync();
+ return WXSDKManagerHandler.GetExtConfigSync();
}
///
@@ -3919,10 +3876,10 @@ namespace WeChatWASM
///
/// [boolean wx.setMessageToFriendQuery(Object object)](https://developers.weixin.qq.com/minigame/dev/api/share/wx.setMessageToFriendQuery.html)
/// 设置 wx.shareMessageToFriend 接口 query 字段的值
- /// **提示**
+ /// **提示
/// 1. 此处的 query 参数与 wx.onShow 取到的启动查询参数 query 不是同一个概念,仅仅是启动查询参数会增加一个字段为 query。
/// 2. query 参数如涉及 "?"和"&" 等特殊符号,需自行进行 encodeURIComponent 和 decodeURIComponent 等操作。
- /// **示例代码**
+ /// 示例代码
/// ```js
/// // 发送方
/// wx.setMessageToFriendQuery({
@@ -3932,8 +3889,7 @@ namespace WeChatWASM
/// // 预期接收方可以通过以下方式拿到设置
/// wx.getEnterOptionsSync().query.shareMessageToFriendScene // 1
/// wx.getEnterOptionsSync().query.query // 'testquery'
- /// ```
- /// **示例代码-特殊字符query**
+ /// 示例代码-特殊字符query**
/// ```js
/// // 发送方
/// wx.setMessageToFriendQuery({
diff --git a/Runtime/WXRuntimeExtDef.cs b/Runtime/WXRuntimeExtDef.cs
index 72ca88f2a..1d3f9ffe3 100644
--- a/Runtime/WXRuntimeExtDef.cs
+++ b/Runtime/WXRuntimeExtDef.cs
@@ -69,6 +69,11 @@ namespace WeChatWASM
#else
WXRuntimeExtEnvDef.SETDEF("UNITY_2022", false);
#endif
+#if UNITY_6000
+ WXRuntimeExtEnvDef.SETDEF("UNITY_6000", true);
+#else
+ WXRuntimeExtEnvDef.SETDEF("UNITY_6000", false);
+#endif
#if UNITY_2022_2_OR_NEWER
WXRuntimeExtEnvDef.SETDEF("UNITY_2022_2_OR_NEWER", true);
#else
diff --git a/Runtime/wechat-default/check-version.js b/Runtime/wechat-default/check-version.js
index 1f65ece21..e3c1ac2e5 100644
--- a/Runtime/wechat-default/check-version.js
+++ b/Runtime/wechat-default/check-version.js
@@ -64,7 +64,7 @@ const isMobileBrotliInvalid = isMobile && !compareVersion(SDKVersion, '2.21.1');
// @ts-ignore
const isBrotliInvalid = $COMPRESS_DATA_PACKAGE && (isPcBrotliInvalid || isMobileBrotliInvalid);
// iOS系统版本>=17.5时,小游戏退后台会导致异常
-export const isIOS175 = compareVersion(systemVersion, '17.5') && isH5Renderer;
+export const isIOS175 = compareVersion(systemVersion, '17.5') || isH5Renderer;
// 是否支持开放数据域渲染模式,使用ScreenCanvas模式可以优化ToTempFilePath的使用
export const isSupportSharedCanvasMode = compareVersion(SDKVersion, '3.6.6');
// 是否能以iOS高性能模式运行
diff --git a/Runtime/wechat-default/check-version.js.meta b/Runtime/wechat-default/check-version.js.meta
index 64437191e..2468e87d2 100644
--- a/Runtime/wechat-default/check-version.js.meta
+++ b/Runtime/wechat-default/check-version.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: ae60a81ea60da7627a9cfdf3ad6a346d
+guid: b1d5c5a293c4e6f758baa418d6e27073
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/data-package/game.js.meta b/Runtime/wechat-default/data-package/game.js.meta
index 49a81fdcd..3e6c09545 100644
--- a/Runtime/wechat-default/data-package/game.js.meta
+++ b/Runtime/wechat-default/data-package/game.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 1e00ce1e374a72e2cf07e59a39270d27
+guid: dacf22747877e863bdaf3d6e4e8e8d13
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/events.js.meta b/Runtime/wechat-default/events.js.meta
index e4f8876f6..23b0b3ce3 100644
--- a/Runtime/wechat-default/events.js.meta
+++ b/Runtime/wechat-default/events.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: d2b4086dbf49eaed27af1597ea7d6941
+guid: c3cd14edeb9702898dd2ae85b1d13321
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/game.js.meta b/Runtime/wechat-default/game.js.meta
index db6cbe506..e93c339cf 100644
--- a/Runtime/wechat-default/game.js.meta
+++ b/Runtime/wechat-default/game.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 23b0d8022a716dec8b64a37c8690afda
+guid: 8a10a99e0e9b35604cfeb09e658ddbe9
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/game.json b/Runtime/wechat-default/game.json
index 7c8d11ed8..5703b5bae 100644
--- a/Runtime/wechat-default/game.json
+++ b/Runtime/wechat-default/game.json
@@ -23,7 +23,7 @@
],
"plugins": {
"UnityPlugin": {
- "version": "1.2.69",
+ "version": "1.2.72",
"provider": "wxe5a48f1ed5f544b7",
"contexts": [
{
diff --git a/Runtime/wechat-default/game.json.meta b/Runtime/wechat-default/game.json.meta
index ed028dbf5..539a38f3a 100644
--- a/Runtime/wechat-default/game.json.meta
+++ b/Runtime/wechat-default/game.json.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: a18dd536d65d2b11c9308125f16abea6
+guid: ce738b792f1c30ce60616cf521e2497a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/images/background.jpg.meta b/Runtime/wechat-default/images/background.jpg.meta
index 87b096310..f916bbd8a 100644
--- a/Runtime/wechat-default/images/background.jpg.meta
+++ b/Runtime/wechat-default/images/background.jpg.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 8fb31cb8dfdb1a22e8bbd69843cbf1af
+guid: cac1584555b5c47e2a5e0235c3385963
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/images/unity_logo.png.meta b/Runtime/wechat-default/images/unity_logo.png.meta
index 03fcd8a40..5f4e3a50d 100644
--- a/Runtime/wechat-default/images/unity_logo.png.meta
+++ b/Runtime/wechat-default/images/unity_logo.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: c890186b9e70817f9ff65571ca010692
+guid: e9b1bec83892f621c66d7ce59ced1bac
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/data/index.js.meta b/Runtime/wechat-default/open-data/data/index.js.meta
index df16e4f10..5df717ecc 100644
--- a/Runtime/wechat-default/open-data/data/index.js.meta
+++ b/Runtime/wechat-default/open-data/data/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 0e3a5b02397c8dba18ee3b9275253ac2
+guid: f901293df61f1741b549d3988dcc8a02
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/data/utils.js.meta b/Runtime/wechat-default/open-data/data/utils.js.meta
index 42186f0da..98b23da85 100644
--- a/Runtime/wechat-default/open-data/data/utils.js.meta
+++ b/Runtime/wechat-default/open-data/data/utils.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 5c1b03758ee550bdd8a214f906f34274
+guid: b7c5e5c5bdb2f74377b5784bd4fb95ea
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/index.js b/Runtime/wechat-default/open-data/index.js
index b9f9d62ef..4aef76b65 100644
--- a/Runtime/wechat-default/open-data/index.js
+++ b/Runtime/wechat-default/open-data/index.js
@@ -14,6 +14,7 @@ setUserRecord(RANK_KEY, Math.ceil(Math.random() * 1000));
const MessageType = {
WX_RENDER: 'WXRender',
WX_DESTROY: 'WXDestroy',
+ WX_SHOW: 'WXShow',
SHOW_FRIENDS_RANK: 'showFriendsRank',
SHOW_GROUP_FRIENDS_RANK: 'showGroupFriendsRank',
SET_USER_RECORD: 'setUserRecord',
@@ -130,6 +131,10 @@ function main() {
case MessageType.WX_DESTROY:
Layout.clearAll();
break;
+ // 来自 WX Unity SDK 的信息
+ case MessageType.WX_SHOW:
+ Layout.repaint();
+ break;
// 下面为业务自定义消息
case MessageType.SHOW_FRIENDS_RANK:
renderFriendsRank();
diff --git a/Runtime/wechat-default/open-data/index.js.meta b/Runtime/wechat-default/open-data/index.js.meta
index 1e57c71a3..007b5a965 100644
--- a/Runtime/wechat-default/open-data/index.js.meta
+++ b/Runtime/wechat-default/open-data/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: fee1373cd038b619791c89e7f0d1ba13
+guid: 3f669ac8dbbd3c2ee49f6d8529ce2de0
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/loading.js.meta b/Runtime/wechat-default/open-data/loading.js.meta
index 32136e7d6..a2521f80e 100644
--- a/Runtime/wechat-default/open-data/loading.js.meta
+++ b/Runtime/wechat-default/open-data/loading.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6f83c1db8f511c9c9c5da047754d8738
+guid: b7212dfec91a4e92ed7a51c90f543671
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/avatar.png.meta b/Runtime/wechat-default/open-data/render/image/avatar.png.meta
index 825e0dd9f..f34b6546b 100644
--- a/Runtime/wechat-default/open-data/render/image/avatar.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/avatar.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: df333caebaa727285735876115564871
+guid: 2a6368b60f06a28c4388799cb9f6fc34
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/button1.png.meta b/Runtime/wechat-default/open-data/render/image/button1.png.meta
index 9520e0911..a0a240b3e 100644
--- a/Runtime/wechat-default/open-data/render/image/button1.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/button1.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: fb9243c01ad8499c0b47d6c16d4b212d
+guid: dc65e9ab1e5794cb36d024118e7a283c
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/button2.png.meta b/Runtime/wechat-default/open-data/render/image/button2.png.meta
index 3e1ebb1e0..ff1e55c12 100644
--- a/Runtime/wechat-default/open-data/render/image/button2.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/button2.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: dc679e15d375b2786321de78d78cd47a
+guid: 7eb8c0f704011f9501073a6bd469c82a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/button3.png.meta b/Runtime/wechat-default/open-data/render/image/button3.png.meta
index c7a6e54fa..5d550d560 100644
--- a/Runtime/wechat-default/open-data/render/image/button3.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/button3.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: d09095d1a61337ecb861b311c992b29e
+guid: 2313eb872afaafe8c8cd98eb4fd77a62
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/loading.png.meta b/Runtime/wechat-default/open-data/render/image/loading.png.meta
index 9f3070482..333475c63 100644
--- a/Runtime/wechat-default/open-data/render/image/loading.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/loading.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 999141e05246ca72190f5fd730711e8d
+guid: af7c7bb9b44763c1b4850b08149a4d64
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/nameBg.png.meta b/Runtime/wechat-default/open-data/render/image/nameBg.png.meta
index 77078eb9c..042265377 100644
--- a/Runtime/wechat-default/open-data/render/image/nameBg.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/nameBg.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: dc6fcd001cf7e2b1c675ef0339c9351b
+guid: dbc6f34f5595006688690ab0820c6843
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/rankAvatar.png.meta b/Runtime/wechat-default/open-data/render/image/rankAvatar.png.meta
index ddb43ce70..20d960189 100644
--- a/Runtime/wechat-default/open-data/render/image/rankAvatar.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/rankAvatar.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 44415c15274384ee6300d242a72631bd
+guid: 2ce86ecd94939d0b772aa935f822ef6c
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/rankBg.png.meta b/Runtime/wechat-default/open-data/render/image/rankBg.png.meta
index b82960684..1f5c1d001 100644
--- a/Runtime/wechat-default/open-data/render/image/rankBg.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/rankBg.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 72a3b631fe779ec59986c3235dbbd4e3
+guid: 91145347c1f9630546188fb92e35cafb
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/shareBg.png.meta b/Runtime/wechat-default/open-data/render/image/shareBg.png.meta
index 76a19acf1..54bac9086 100644
--- a/Runtime/wechat-default/open-data/render/image/shareBg.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/shareBg.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: da37990fbcac3d3fda0f29841302726b
+guid: b54bb16f3a347f2af35fc9a0603d3981
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/image/shareBg2.png.meta b/Runtime/wechat-default/open-data/render/image/shareBg2.png.meta
index 1a6997475..975d3e307 100644
--- a/Runtime/wechat-default/open-data/render/image/shareBg2.png.meta
+++ b/Runtime/wechat-default/open-data/render/image/shareBg2.png.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: ecf7bbf7536c0bb8c01f31cf5c31b98b
+guid: 23eac3782c3d2a5283106db0ac1de823
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/styles/friendRank.js.meta b/Runtime/wechat-default/open-data/render/styles/friendRank.js.meta
index 9423fe7a6..79e740acd 100644
--- a/Runtime/wechat-default/open-data/render/styles/friendRank.js.meta
+++ b/Runtime/wechat-default/open-data/render/styles/friendRank.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 20f209cad14d9cc879a914407fd6c55b
+guid: 3c32e13d79523fff52899471add65840
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/styles/tips.js.meta b/Runtime/wechat-default/open-data/render/styles/tips.js.meta
index bb7a9f665..502fc1efc 100644
--- a/Runtime/wechat-default/open-data/render/styles/tips.js.meta
+++ b/Runtime/wechat-default/open-data/render/styles/tips.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 68fbb67371b5d75553bfa4f4fffe2e82
+guid: e559913eb6c0885ea57f132ab833f1c4
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/tpls/friendRank.js.meta b/Runtime/wechat-default/open-data/render/tpls/friendRank.js.meta
index a789a4566..ed4c475f8 100644
--- a/Runtime/wechat-default/open-data/render/tpls/friendRank.js.meta
+++ b/Runtime/wechat-default/open-data/render/tpls/friendRank.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6723247ff2663878fdc07d4dd9e22f3f
+guid: 1228a90aaa4598fd74c33baf4bef18df
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/open-data/render/tpls/tips.js.meta b/Runtime/wechat-default/open-data/render/tpls/tips.js.meta
index 63b7c4da9..742f462ce 100644
--- a/Runtime/wechat-default/open-data/render/tpls/tips.js.meta
+++ b/Runtime/wechat-default/open-data/render/tpls/tips.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 49eee9cd651e0d6230b648174eb73d8f
+guid: bb6b9d0b2743b35939f0c4797e575653
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/plugin-config.js.meta b/Runtime/wechat-default/plugin-config.js.meta
index 7b2a08925..eafd4c368 100644
--- a/Runtime/wechat-default/plugin-config.js.meta
+++ b/Runtime/wechat-default/plugin-config.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 3ee6d1c29f899477f53abb291f32a9bd
+guid: b82887f3f5789eaf68f47a9ec797c9c5
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/plugins/check-update.js.meta b/Runtime/wechat-default/plugins/check-update.js.meta
index 7fc624b42..013701a72 100644
--- a/Runtime/wechat-default/plugins/check-update.js.meta
+++ b/Runtime/wechat-default/plugins/check-update.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 5ce31cbfb9c68c7e58ad15cb62b76e1e
+guid: ea474b029657fdaa319becc29f164cb2
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/plugins/screen-adapter.js.meta b/Runtime/wechat-default/plugins/screen-adapter.js.meta
index 25be4056e..3b4821598 100644
--- a/Runtime/wechat-default/plugins/screen-adapter.js.meta
+++ b/Runtime/wechat-default/plugins/screen-adapter.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 38e5381695960274a05977cf71ead7a2
+guid: f92148091aaaeef613e4f735f3132ded
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/project.config.json.meta b/Runtime/wechat-default/project.config.json.meta
index 06a605261..af6c28b28 100644
--- a/Runtime/wechat-default/project.config.json.meta
+++ b/Runtime/wechat-default/project.config.json.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 5a3033c10b564501a2052299f282e96b
+guid: 3f979dbc1b844293c47fe854ccc6b145
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/texture-config.js.meta b/Runtime/wechat-default/texture-config.js.meta
index ed641e17e..861e08d17 100644
--- a/Runtime/wechat-default/texture-config.js.meta
+++ b/Runtime/wechat-default/texture-config.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 647e9cc55c4b8e4426212a3277b8aeff
+guid: 599277840d42f8d1f857dab7b550af17
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-namespace.js.meta b/Runtime/wechat-default/unity-namespace.js.meta
index dd75f2659..e5d2d21fc 100644
--- a/Runtime/wechat-default/unity-namespace.js.meta
+++ b/Runtime/wechat-default/unity-namespace.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 0e67b891eecc0461fb2ae092989d61ca
+guid: 7e0463fe9935417828ef997ebf78e69c
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/TCPSocket/index.js b/Runtime/wechat-default/unity-sdk/TCPSocket/index.js
index 02ad18f3c..9c3208e07 100644
--- a/Runtime/wechat-default/unity-sdk/TCPSocket/index.js
+++ b/Runtime/wechat-default/unity-sdk/TCPSocket/index.js
@@ -9,7 +9,7 @@ const wxTCPSocketMessageList = {};
const getTCPSocketObject = getListObject(TCPSocketList, 'TCPSocket');
let wxTCPSocketOnMessageCallback;
function WX_CreateTCPSocket() {
- const obj = wx.createTCPSocket({ type: 'ipv4' });
+ const obj = wx.createTCPSocket();
const key = uid();
TCPSocketList[key] = obj;
return key;
diff --git a/Runtime/wechat-default/unity-sdk/TCPSocket/index.js.meta b/Runtime/wechat-default/unity-sdk/TCPSocket/index.js.meta
index 1f980c65e..98a578b9c 100644
--- a/Runtime/wechat-default/unity-sdk/TCPSocket/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/TCPSocket/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 1457f36d1e3c2e5ecd29e7b9e02eb639
+guid: 4c152c60a8f695a05e9c1cfd45670d67
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/UDPSocket/index.js.meta b/Runtime/wechat-default/unity-sdk/UDPSocket/index.js.meta
index b6d28e10e..e3465b6cd 100644
--- a/Runtime/wechat-default/unity-sdk/UDPSocket/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/UDPSocket/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6cde41d9d8730cb82462df303922bc77
+guid: 1a323ca4b1e3f5fa8580bdf0a262e6ee
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/ad.js.meta b/Runtime/wechat-default/unity-sdk/ad.js.meta
index 158685d06..d1a46a3a1 100644
--- a/Runtime/wechat-default/unity-sdk/ad.js.meta
+++ b/Runtime/wechat-default/unity-sdk/ad.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 36acb16a8a324f14baf1826052c819a6
+guid: 88df4563d1888d9e7b3b18352390c5b6
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/common.js.meta b/Runtime/wechat-default/unity-sdk/audio/common.js.meta
index 9672dcc9c..4469b8963 100644
--- a/Runtime/wechat-default/unity-sdk/audio/common.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/common.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 79035f4b89810e525e5b6f056bcab1da
+guid: 8bcb12e67168e61d7d55d8992fc46dc5
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/const.js.meta b/Runtime/wechat-default/unity-sdk/audio/const.js.meta
index ebf0b88be..507232b12 100644
--- a/Runtime/wechat-default/unity-sdk/audio/const.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/const.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 06185d3b630418314f869f69f0a12bd4
+guid: 214586cbf5e220680a8d02988974f4b2
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/index.js.meta b/Runtime/wechat-default/unity-sdk/audio/index.js.meta
index be6519533..d87c02f66 100644
--- a/Runtime/wechat-default/unity-sdk/audio/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 035e83d53e52cce09a95be5ca1a5e284
+guid: 13e426cbe62547c301edb312f099d76f
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/inner-audio.js.meta b/Runtime/wechat-default/unity-sdk/audio/inner-audio.js.meta
index 6f7a3bcfc..e7d389289 100644
--- a/Runtime/wechat-default/unity-sdk/audio/inner-audio.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/inner-audio.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 12a44897ca33fd80f2ec01208e56d8b4
+guid: f688e52387945c3bd95b79b5bba03e4d
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/store.js.meta b/Runtime/wechat-default/unity-sdk/audio/store.js.meta
index ecf896e73..9f81cd51a 100644
--- a/Runtime/wechat-default/unity-sdk/audio/store.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/store.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 4599c4114773b0d4512d47a35e896a67
+guid: 5226d881d41490dc07c13761d9a2a5b7
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/unity-audio.js.meta b/Runtime/wechat-default/unity-sdk/audio/unity-audio.js.meta
index 6c68e7b70..010303054 100644
--- a/Runtime/wechat-default/unity-sdk/audio/unity-audio.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/unity-audio.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 75c1d30bfad39522fd6b2cb4a268d1eb
+guid: 84c3c5b4ec642602b237d3e3b66834bd
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/audio/utils.js b/Runtime/wechat-default/unity-sdk/audio/utils.js
index c5b9caa27..1a0e39b9e 100644
--- a/Runtime/wechat-default/unity-sdk/audio/utils.js
+++ b/Runtime/wechat-default/unity-sdk/audio/utils.js
@@ -10,8 +10,6 @@ export const resumeWebAudio = () => {
WEBAudio.audioContext?.resume();
- GameGlobal.Module.mContext?.resume();
- GameGlobal.Module.context?.resume();
};
export const createInnerAudio = () => {
const id = uid();
diff --git a/Runtime/wechat-default/unity-sdk/audio/utils.js.meta b/Runtime/wechat-default/unity-sdk/audio/utils.js.meta
index aa85242e4..11b823d03 100644
--- a/Runtime/wechat-default/unity-sdk/audio/utils.js.meta
+++ b/Runtime/wechat-default/unity-sdk/audio/utils.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: d0d381daa7373f4fc03405832d6f6701
+guid: a7e1e43d8a6825ef883a04805fa686a5
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/authorize.js.meta b/Runtime/wechat-default/unity-sdk/authorize.js.meta
index ef7136b3e..756dac24a 100644
--- a/Runtime/wechat-default/unity-sdk/authorize.js.meta
+++ b/Runtime/wechat-default/unity-sdk/authorize.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 30727dbf2987059c61888eaa3f4f835b
+guid: 9aea2f0543137025b345b1c4f2e165b3
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/bluetooth/index.js.meta b/Runtime/wechat-default/unity-sdk/bluetooth/index.js.meta
index d2af97928..4611a90b3 100644
--- a/Runtime/wechat-default/unity-sdk/bluetooth/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/bluetooth/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: f37ac8c23587e60efafd310b87f49bdb
+guid: 713a669cddc1b0d3d3d958cbaf9f49c1
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/camera.js.meta b/Runtime/wechat-default/unity-sdk/camera.js.meta
index 71f8ac011..469dcba1b 100644
--- a/Runtime/wechat-default/unity-sdk/camera.js.meta
+++ b/Runtime/wechat-default/unity-sdk/camera.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: f506c8b0a56163e94af80e058b6d4e59
+guid: 1df83a17a4da78cf858367183e984083
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/canvas-context.js.meta b/Runtime/wechat-default/unity-sdk/canvas-context.js.meta
index 12d731198..aa7729573 100644
--- a/Runtime/wechat-default/unity-sdk/canvas-context.js.meta
+++ b/Runtime/wechat-default/unity-sdk/canvas-context.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: a9fc3049a67a29a9796bc6dcc5d3efb1
+guid: 29eecf2c17c4c8adef717de8e81a9d4a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/canvas.js.meta b/Runtime/wechat-default/unity-sdk/canvas.js.meta
index e58871a46..752e47b2c 100644
--- a/Runtime/wechat-default/unity-sdk/canvas.js.meta
+++ b/Runtime/wechat-default/unity-sdk/canvas.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 0578fdc4545d20efd1bd07e7b6015314
+guid: af01929d16697921e25c3709ac4bf8c4
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/chat.js.meta b/Runtime/wechat-default/unity-sdk/chat.js.meta
index 3840481b7..bb447bc51 100644
--- a/Runtime/wechat-default/unity-sdk/chat.js.meta
+++ b/Runtime/wechat-default/unity-sdk/chat.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 800e80eb14dab88d70589dde662cec5d
+guid: 2653b4f27ac94070c19d6ef2c4755739
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/cloud.js.meta b/Runtime/wechat-default/unity-sdk/cloud.js.meta
index 5fd3382c6..09f1854ba 100644
--- a/Runtime/wechat-default/unity-sdk/cloud.js.meta
+++ b/Runtime/wechat-default/unity-sdk/cloud.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9d248c99b894feb10d039e1917bb949f
+guid: 335f6cc7aeafc8aadc0878957dc683ea
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/conf.js.meta b/Runtime/wechat-default/unity-sdk/conf.js.meta
index fc267dd6f..15a7a7455 100644
--- a/Runtime/wechat-default/unity-sdk/conf.js.meta
+++ b/Runtime/wechat-default/unity-sdk/conf.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: a05714e8bc86fdd8365029451d2bef18
+guid: dde40e2b223abc5927e4759165bef593
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/file-info.js.meta b/Runtime/wechat-default/unity-sdk/file-info.js.meta
index 5d24af18d..5e1a99dd0 100644
--- a/Runtime/wechat-default/unity-sdk/file-info.js.meta
+++ b/Runtime/wechat-default/unity-sdk/file-info.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: ea0dbf5e7b14481751b2375fb1641c27
+guid: 74b34d3cbf56d9dbea8abed92c489701
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/fix.js.meta b/Runtime/wechat-default/unity-sdk/fix.js.meta
index 4eaba75a2..00fac6c0e 100644
--- a/Runtime/wechat-default/unity-sdk/fix.js.meta
+++ b/Runtime/wechat-default/unity-sdk/fix.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 4ac8286774cc2d7ea43ea7dda3d8e3f6
+guid: 64d41034384b0a30c2b509c4a4bdf231
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/fix-cmap.js.meta b/Runtime/wechat-default/unity-sdk/font/fix-cmap.js.meta
index 7c53aefa3..283c548c4 100644
--- a/Runtime/wechat-default/unity-sdk/font/fix-cmap.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/fix-cmap.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 4ed86efddd7e82d41557f3084b9ca6ae
+guid: 2c24a86991bf9da31d74873e461bf179
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/index.js.meta b/Runtime/wechat-default/unity-sdk/font/index.js.meta
index 621435ff3..7df492964 100644
--- a/Runtime/wechat-default/unity-sdk/font/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 1905271aebfff28a526c27c659ff86f4
+guid: e5ff29805407c220017ca85abf51f27c
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/read-metrics.js.meta b/Runtime/wechat-default/unity-sdk/font/read-metrics.js.meta
index 81acf0deb..b63413481 100644
--- a/Runtime/wechat-default/unity-sdk/font/read-metrics.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/read-metrics.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 2e4e4d29fc1fc6de77061251cf85390e
+guid: 383b3b212417b1409be4371c988199f7
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/split-sc.js.meta b/Runtime/wechat-default/unity-sdk/font/split-sc.js.meta
index 925c13179..27ae27f0a 100644
--- a/Runtime/wechat-default/unity-sdk/font/split-sc.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/split-sc.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9b8391bc2975c15e5edf2419b726c280
+guid: b929dfed6b2c23ddc9b1d14656f851ae
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/font/util.js.meta b/Runtime/wechat-default/unity-sdk/font/util.js.meta
index e7b865cfa..449ba1d8a 100644
--- a/Runtime/wechat-default/unity-sdk/font/util.js.meta
+++ b/Runtime/wechat-default/unity-sdk/font/util.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 8ebf02724ab51ef0e27144b67a4fda72
+guid: 932cd927b832929d77570803d839bd4d
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/fs.js.meta b/Runtime/wechat-default/unity-sdk/fs.js.meta
index 220fcb436..ca9c317a2 100644
--- a/Runtime/wechat-default/unity-sdk/fs.js.meta
+++ b/Runtime/wechat-default/unity-sdk/fs.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 488f70aaa5294306ab437ef8eced92ee
+guid: 6ef559783d97aa9e93d6d1fc29483521
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/game-club.js.meta b/Runtime/wechat-default/unity-sdk/game-club.js.meta
index 5b3d4eda7..aa1977315 100644
--- a/Runtime/wechat-default/unity-sdk/game-club.js.meta
+++ b/Runtime/wechat-default/unity-sdk/game-club.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 779bbc1ae17f839c356e1a8c93131c8c
+guid: 0d0fdb47737a1e4c0b9ca61f17307cb5
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/game-recorder.js.meta b/Runtime/wechat-default/unity-sdk/game-recorder.js.meta
index f792ac186..8f6e6a5b7 100644
--- a/Runtime/wechat-default/unity-sdk/game-recorder.js.meta
+++ b/Runtime/wechat-default/unity-sdk/game-recorder.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 147e34e2c33ddbbd60d7d6d0363c24f2
+guid: 5fbed826b3078a3b612c62c5ec8c1554
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/gyroscope/index.js.meta b/Runtime/wechat-default/unity-sdk/gyroscope/index.js.meta
index f35a6561d..b71444e32 100644
--- a/Runtime/wechat-default/unity-sdk/gyroscope/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/gyroscope/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 4b8b9c6d285f7f9d8237bf66210e9771
+guid: 5b9402695af0478d885bb30326949bc1
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/index.js.meta b/Runtime/wechat-default/unity-sdk/index.js.meta
index ad4e9c7f3..5873374a9 100644
--- a/Runtime/wechat-default/unity-sdk/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: f532a306eddfde9e00d24c1dd8704b8c
+guid: 21147964b091ab8f4a34b9400396793a
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/logger.js.meta b/Runtime/wechat-default/unity-sdk/logger.js.meta
index 38bfa0d66..6d49fce5d 100644
--- a/Runtime/wechat-default/unity-sdk/logger.js.meta
+++ b/Runtime/wechat-default/unity-sdk/logger.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7afb34dc178465ea5f0c767926f474a3
+guid: 58554b3c9c8fd013aa1ce09ebeefdef3
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/mobileKeyboard/index.js.meta b/Runtime/wechat-default/unity-sdk/mobileKeyboard/index.js.meta
index ea5043c75..3993c7971 100644
--- a/Runtime/wechat-default/unity-sdk/mobileKeyboard/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/mobileKeyboard/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6ee95953e4bc47308085b7b55fa99506
+guid: ba39608a082ebdd87df015d51f5230e8
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/module-helper.js.meta b/Runtime/wechat-default/unity-sdk/module-helper.js.meta
index 71da2273a..efba1fd7f 100644
--- a/Runtime/wechat-default/unity-sdk/module-helper.js.meta
+++ b/Runtime/wechat-default/unity-sdk/module-helper.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 15df071f09050c56ffbb8e5fe2fa9acf
+guid: ed6c0cc3367bf16be72f8ccbadcd6411
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/open-data.js b/Runtime/wechat-default/unity-sdk/open-data.js
index ca1a2e717..2f4bd29dc 100644
--- a/Runtime/wechat-default/unity-sdk/open-data.js
+++ b/Runtime/wechat-default/unity-sdk/open-data.js
@@ -99,6 +99,13 @@ function stopHookUnityRender() {
gl.deleteTexture(textureObject);
textureObject = null;
}
+wx.onShow(() => {
+ if (cachedOpenDataContext) {
+ getOpenDataContext().postMessage({
+ type: 'WXShow',
+ });
+ }
+});
export default {
WXGetOpenDataContext(mode) {
debugLog('WXGetOpenDataContext:', mode);
diff --git a/Runtime/wechat-default/unity-sdk/open-data.js.meta b/Runtime/wechat-default/unity-sdk/open-data.js.meta
index 0c8ba911c..dff339cfc 100644
--- a/Runtime/wechat-default/unity-sdk/open-data.js.meta
+++ b/Runtime/wechat-default/unity-sdk/open-data.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b151148eae664944494727c842426c24
+guid: 0e6ca64fa9a4d08d772c4eb53dc90d7e
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/recorder.js.meta b/Runtime/wechat-default/unity-sdk/recorder.js.meta
index 7f1137528..1e7ef0fc4 100644
--- a/Runtime/wechat-default/unity-sdk/recorder.js.meta
+++ b/Runtime/wechat-default/unity-sdk/recorder.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 2d0f4b8f21c902340046d1fe6a2af973
+guid: 142a80ea7c6045682a598b626dcc9b88
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/resType.js b/Runtime/wechat-default/unity-sdk/resType.js
index 1cc38b161..e81a85770 100644
--- a/Runtime/wechat-default/unity-sdk/resType.js
+++ b/Runtime/wechat-default/unity-sdk/resType.js
@@ -1,11 +1,4 @@
export const ResType = {
- Gamepad: {
- axes: 'IAnyObject[]',
- buttons: 'IAnyObject[]',
- connected: 'bool',
- id: 'string',
- index: 'string',
- },
AccountInfo: {
miniProgram: 'MiniProgram',
plugin: 'Plugin',
@@ -503,7 +496,7 @@ export const ResType = {
headUrl: 'string',
nickname: 'string',
nonceId: 'string',
- otherInfos: 'any[]',
+ otherInfos: 'AnyKeyword[]',
replayStatus: 'number',
status: 'number',
errMsg: 'string',
@@ -512,7 +505,7 @@ export const ResType = {
headUrl: 'string',
nickname: 'string',
noticeId: 'string',
- otherInfos: 'any[]',
+ otherInfos: 'AnyKeyword[]',
reservable: 'bool',
startTime: 'string',
status: 'number',
@@ -581,11 +574,6 @@ export const ResType = {
weakNet: 'bool',
errMsg: 'string',
},
- GetPhoneNumberSuccessCallbackResult: {
- code: 'string',
- errMsg: 'string',
- errno: 'number',
- },
GetPrivacySettingSuccessCallbackResult: {
needAuthorization: 'bool',
privacyContractName: 'string',
@@ -610,10 +598,6 @@ export const ResType = {
mainSwitch: 'bool',
itemSettings: 'object',
},
- GetShowSplashAdStatusSuccessCallbackResult: {
- status: 'string',
- errMsg: 'string',
- },
GetStorageInfoSuccessCallbackOption: {
currentSize: 'number',
keys: 'string[]',
@@ -740,12 +724,6 @@ export const ResType = {
message: 'string',
stack: 'string',
},
- OnGamepadConnectedListenerResult: {
- gamepad: 'string',
- },
- OnGamepadDisconnectedListenerResult: {
- gamepad: 'string',
- },
OnHandoffListenerResult: {
query: 'string',
},
@@ -763,6 +741,14 @@ export const ResType = {
OnMemoryWarningListenerResult: {
level: 'number',
},
+ OnMenuButtonBoundingClientRectWeightChangeListenerResult: {
+ bottom: 'number',
+ height: 'number',
+ left: 'number',
+ right: 'number',
+ top: 'number',
+ width: 'number',
+ },
OnMouseDownListenerResult: {
button: 'number',
timeStamp: 'long',
@@ -863,6 +849,17 @@ export const ResType = {
subscriptionsSetting: 'SubscriptionsSetting',
errMsg: 'string',
},
+ OperateGameRecorderVideoOption: {
+ atempo: 'number',
+ audioMix: 'bool',
+ bgm: 'string',
+ desc: 'string',
+ path: 'string',
+ query: 'string',
+ timeRange: 'number[]',
+ title: 'string',
+ volume: 'number',
+ },
MediaSource: {
url: 'string',
poster: 'string',
diff --git a/Runtime/wechat-default/unity-sdk/resType.js.meta b/Runtime/wechat-default/unity-sdk/resType.js.meta
index bb61ffee8..df55d9dad 100644
--- a/Runtime/wechat-default/unity-sdk/resType.js.meta
+++ b/Runtime/wechat-default/unity-sdk/resType.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9bb49cb06110f497b19d2e888ba542bf
+guid: bce16a6df89268f012822b9cb931c1f3
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/resTypeOther.js.meta b/Runtime/wechat-default/unity-sdk/resTypeOther.js.meta
index aefa8070f..492bf936b 100644
--- a/Runtime/wechat-default/unity-sdk/resTypeOther.js.meta
+++ b/Runtime/wechat-default/unity-sdk/resTypeOther.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 8641b1e0df3fc337c5ee2185c6b3e083
+guid: 4c060e598a8383700d7a2b76a40123e2
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/response.js.meta b/Runtime/wechat-default/unity-sdk/response.js.meta
index afc272685..14d417153 100644
--- a/Runtime/wechat-default/unity-sdk/response.js.meta
+++ b/Runtime/wechat-default/unity-sdk/response.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: d3bb31cd39e18cd27048c06cee0fc639
+guid: fea2dbdbb276d54fb6c2a4a32dab0a56
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/sdk.js.meta b/Runtime/wechat-default/unity-sdk/sdk.js.meta
index 9548f89f5..a18bf6448 100644
--- a/Runtime/wechat-default/unity-sdk/sdk.js.meta
+++ b/Runtime/wechat-default/unity-sdk/sdk.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: d956c2c58855c585cae5964f3238d53a
+guid: 4d8c5f71bf7fc934299663d29dbf6d94
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/share.js.meta b/Runtime/wechat-default/unity-sdk/share.js.meta
index cadd6f9d9..1f8cadc09 100644
--- a/Runtime/wechat-default/unity-sdk/share.js.meta
+++ b/Runtime/wechat-default/unity-sdk/share.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: fa36ef88a6eea57340010a2e64581e3d
+guid: 9d08c459f74d9830e732005dc5a45681
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/storage.js.meta b/Runtime/wechat-default/unity-sdk/storage.js.meta
index eb674b3fd..7cc141adf 100644
--- a/Runtime/wechat-default/unity-sdk/storage.js.meta
+++ b/Runtime/wechat-default/unity-sdk/storage.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: a039de4d0b8a8d703722bbbcd32ea2ce
+guid: 04cadfaa606bb99101bb63006258519e
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/texture.js.meta b/Runtime/wechat-default/unity-sdk/texture.js.meta
index dcde9585f..363f30d6f 100644
--- a/Runtime/wechat-default/unity-sdk/texture.js.meta
+++ b/Runtime/wechat-default/unity-sdk/texture.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 3298fc606f8581b0c0fdfd32c9fd0c03
+guid: d3512debef4835e62b3b5a6d37199989
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/touch/index.js.meta b/Runtime/wechat-default/unity-sdk/touch/index.js.meta
index 9097b4b24..845994f68 100644
--- a/Runtime/wechat-default/unity-sdk/touch/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/touch/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: db2983f49d561062c80bf0ccbcac877f
+guid: 043d13d25597559405e8b68363dec9f3
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/upload-file.js.meta b/Runtime/wechat-default/unity-sdk/upload-file.js.meta
index 23b50fc6c..b6575fa7c 100644
--- a/Runtime/wechat-default/unity-sdk/upload-file.js.meta
+++ b/Runtime/wechat-default/unity-sdk/upload-file.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9c41eb32e1f3c5250cb0b4dbb874bac9
+guid: 2955cdc3239cec2bd8eb0fdba6d90158
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/userinfo.js.meta b/Runtime/wechat-default/unity-sdk/userinfo.js.meta
index 2f5d4c229..766de507d 100644
--- a/Runtime/wechat-default/unity-sdk/userinfo.js.meta
+++ b/Runtime/wechat-default/unity-sdk/userinfo.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: ee7b9630bc6893049584adc1f5675a2c
+guid: 8998e29409d4f9370dfb2ed20bdddf05
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/util.js.meta b/Runtime/wechat-default/unity-sdk/util.js.meta
index f80406ab4..270504b50 100644
--- a/Runtime/wechat-default/unity-sdk/util.js.meta
+++ b/Runtime/wechat-default/unity-sdk/util.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: acec300e0f0f4a8afb4a9bdc3620ccfa
+guid: 4b37331d1365e0b5e75eca2c997e5e29
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/utils.js b/Runtime/wechat-default/unity-sdk/utils.js
index aee1120f7..1d47e36d0 100644
--- a/Runtime/wechat-default/unity-sdk/utils.js
+++ b/Runtime/wechat-default/unity-sdk/utils.js
@@ -24,7 +24,7 @@ const typeMap = {
number: 0,
bool: false,
object: {},
-}; // 类型默认值映射
+};
const interfaceTypeMap = {
array: 'object',
arrayBuffer: 'object',
diff --git a/Runtime/wechat-default/unity-sdk/utils.js.meta b/Runtime/wechat-default/unity-sdk/utils.js.meta
index c4088f13f..0a76b5953 100644
--- a/Runtime/wechat-default/unity-sdk/utils.js.meta
+++ b/Runtime/wechat-default/unity-sdk/utils.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 67f816a895b92768a4f58a3608fa5179
+guid: 9b87ec7c6721010a976a680a8ae79e80
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/video.js.meta b/Runtime/wechat-default/unity-sdk/video.js.meta
index 0446ed3e2..71efb7245 100644
--- a/Runtime/wechat-default/unity-sdk/video.js.meta
+++ b/Runtime/wechat-default/unity-sdk/video.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: f55171ccb0bca2276057d085b42df566
+guid: 20b955aaa3f7f3faa79894c2b1884c38
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/unity-sdk/video/index.js.meta b/Runtime/wechat-default/unity-sdk/video/index.js.meta
index b5dad3254..74b38c5cf 100644
--- a/Runtime/wechat-default/unity-sdk/video/index.js.meta
+++ b/Runtime/wechat-default/unity-sdk/video/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 1a830f109a03756c25be48285c18d895
+guid: 4434e764ea58d862a7623d37b279b515
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/wasmcode/game.js.meta b/Runtime/wechat-default/wasmcode/game.js.meta
index ec67fbbaa..1c6e02217 100644
--- a/Runtime/wechat-default/wasmcode/game.js.meta
+++ b/Runtime/wechat-default/wasmcode/game.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: adbf518175932ccccf9ba028bb9b5e63
+guid: 7538c4bcfd3599dc1fe247d3ce338eab
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/weapp-adapter.js.meta b/Runtime/wechat-default/weapp-adapter.js.meta
index f652c2404..5df7f619d 100644
--- a/Runtime/wechat-default/weapp-adapter.js.meta
+++ b/Runtime/wechat-default/weapp-adapter.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: ad9047e0d93ea0b0841c2132980ad4ce
+guid: f4a9950200dc9e4dbdf31188da821c39
DefaultImporter:
externalObjects: {}
userData:
diff --git a/Runtime/wechat-default/workers/response/index.js.meta b/Runtime/wechat-default/workers/response/index.js.meta
index 5a61d831e..53f9d7ba9 100644
--- a/Runtime/wechat-default/workers/response/index.js.meta
+++ b/Runtime/wechat-default/workers/response/index.js.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 4b5fe5d9b8e1c18a44338657d712b4fb
+guid: 82aa5ddbfe75ed45ffd9876654dddc5f
DefaultImporter:
externalObjects: {}
userData: