drgame-cc 1.0.39 → 1.0.40
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,6 +267,10 @@ export class PlatformAdapter {
|
|
|
267
267
|
bridge && bridge.exitGame();
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
+
/** 显示帮助界面
|
|
271
|
+
* @param url 帮助界面spine动画资源路径, 相对于resources/spine/目录
|
|
272
|
+
* @param cb 关闭帮助界面回调
|
|
273
|
+
*/
|
|
270
274
|
public static async showHelper(url: string, cb: () => void) {
|
|
271
275
|
var key = `${this._zhName}-isFirst`;
|
|
272
276
|
var isFirst = cc.sys.localStorage.getItem(key);
|