2022-06-16 16:01:37 +08:00

24 lines
365 B
TypeScript

import JCWallet from "../JCWallet";
const {ccclass, property} = cc._decorator;
@ccclass
export default class WalletBase extends cc.Component {
protected wallet: JCWallet
isAlter = false
start () {
this.wallet = new JCWallet()
}
update (dt) {
if (this.isAlter) {
this.updateUI()
}
}
updateUI() {
this.isAlter = false
}
}