You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AdLike2048/assets/script/ui/BattleGame/ChoukaScript.ts

27 lines
702 B

3 weeks ago
import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;
/** @deprecated 抽卡/转盘模式已移除,保留空壳避免 prefab 引用报错 */
@ccclass('ChoukaScript')
export class ChoukaScript extends Component {
@property({ type: Node })
zhanshiTempNode: Node = null;
@property({ type: Node })
zhanshiContentNode: Node = null;
@property({ type: Node })
choujiangNodeArray: Node[] = [];
@property({ type: Node })
resultIconArray: Node[] = [];
refreshYinbiBtn(): void {
const btn = this.node?.getChildByName('btnGetCoin');
if (btn?.isValid) btn.active = false;
}
getYinbiBtnClick(): void {
}
}