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
|
|
272
|
-
* @param cb
|
|
270
|
+
/** 显示玩法说明界面
|
|
271
|
+
* @param url 玩法说明界面spine动画资源路径, 相对于resources/spine/目录
|
|
272
|
+
* @param cb 关闭玩法说明界面回调
|
|
273
273
|
*/
|
|
274
|
-
public static async
|
|
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) {
|