Skip to content

Commit 72af1ab

Browse files
author
nebulaliu
committed
docs: launch opera
1 parent 8c2e039 commit 72af1ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Design/LaunchOpera.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ GameGlobal.events.on("launchOperaInit", (operaHandler) => {
5858
}
5959
} catch (e) { }
6060

61+
// 合理位置标记为非新用户,也可以在 C# 侧完成标记
62+
wx.setStorageSync('launchOperaLocalDataXXX', { anydata: 0 });
63+
6164
// 开始配置启动剧情
6265
operaHandler.config = { // 配置本地剧本路径,若 playPath 文件不存在或读取失败则自动放弃启动剧情
6366
playPath: play ? '/launchOperaPlay/operaPlay.obj' : null,

0 commit comments

Comments
 (0)