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 { } }