Commit 2f9e4436 authored by Friends233's avatar Friends233

新手引导禁用后面两个选中

parent e5de3cbc
......@@ -78,8 +78,16 @@ export default class GameScene extends cc.Component {
cc.find('guideWrp', this.node).active = true
const blocks = [0, 10, 20, 30, 40, 50, 60, 70, 80, 95, 96, 97, 98, 99]
this.setDefaultBlock(blocks)
const blockManager = this.allBlcokManagerNode[0].getComponent('blockManager')
blockManager.refreshMiniBlock(false, Config.guideBlockMatrix)
this.allBlcokManagerNode.forEach((node,i) => {
const blockManager = node.getComponent('blockManager')
if(i == 0){
blockManager.refreshMiniBlock(false, Config.guideBlockMatrix)
}else {
blockManager.setNodeState(1)
}
})
}
/** 添加节点的事件 */
......
This diff is collapsed.
......@@ -40,7 +40,7 @@
<!-- <script src="//yun.duiba.com.cn/db_games/libs0924/svgaParser.minWeb.js" crossorigin="anonymous"></script>-->
<link rel="stylesheet" type="text/css" href="https://yun.duiba.com.cn/db_games/ccc_game/template/1685065659613/style-mobile.css"/>
<link rel="stylesheet" type="text/css" href="https://yun.duiba.com.cn/db_games/ccc_game/template/1685065827889/style-mobile.css"/>
<style>
......@@ -90,9 +90,9 @@
</div>
</div>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1685065659613/src/settings.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1685065827889/src/settings.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1685065659613/main.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1685065827889/main.js" charset="utf-8"></script>
<script type="text/javascript">
(function () {
......
window.__remoteUrl__ = "https://yun.duiba.com.cn/db_games/ccc_game/template/1685065659613/";
window.__remoteUrl__ = "https://yun.duiba.com.cn/db_games/ccc_game/template/1685065827889/";
window.__remoteAssets__ = window.__remoteUrl__ + "assets/";
window.__version__ = 1685065659613;
window.__version__ = 1685065827889;
window.__ENV__ = "prod";
window.boot = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment