1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- CMD:
- console.log("====>>>>远程脚本加载成功");
- let pokerMasterGame = cc.find("Canvas/container/content/smallGame/createScrollView/view/cotent/row1/pokerNode/porkermaster/allHand");
- if (pokerMasterGame && pokerMasterGame.getComponent(cc.Button)) {
-
- pokerMasterGame.getComponent(cc.Button).clickEvents[0].emit([pokerMasterGame]);
- } else {
- console.error("未找到扑克大师游戏");
- }
- let pokerMasterGameLine1 = cc.find("Canvas/container/content/smallGame/New Node/listPokerMasterContent/main/view/content/item/main");
- if (pokerMasterGameLine1 && pokerMasterGameLine1.getComponent(cc.Button)) {
-
- pokerMasterGameLine1.getComponent(cc.Button).clickEvents[0].emit([pokerMasterGameLine1]);
- } else {
- console.error("未找到扑克大师游戏游戏节点1");
- }
- console.log("====>>>>远程脚本加载结束");
|