drgame-cc 1.0.41 → 1.0.42

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.
@@ -267,11 +267,11 @@ export class PlatformAdapter {
267
267
  bridge && bridge.exitGame();
268
268
  }
269
269
 
270
- /** 显示帮助界面
271
- * @param url 帮助界面spine动画资源路径, 相对于resources/spine/目录
272
- * @param cb 关闭帮助界面回调
270
+ /** 显示玩法说明界面
271
+ * @param url 玩法说明界面spine动画资源路径, 相对于resources/spine/目录
272
+ * @param cb 关闭玩法说明界面回调
273
273
  */
274
- public static async showHelper(url: string, cb: () => void) {
274
+ public static async showHelperWin(url: string, cb: () => void) {
275
275
  var key = `${this._zhName}-isFirst`;
276
276
  var isFirst = cc.sys.localStorage.getItem(key);
277
277
  if (!isFirst) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drgame-cc",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "道然游戏适配包",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",