2022-06-15 21:50:04 +08:00

22 lines
302 B
TypeScript

const {ccclass, property} = cc._decorator;
@ccclass
export default class TokenList extends cc.Component {
@property(cc.Label)
label: cc.Label = null;
@property
text: string = 'hello';
// LIFE-CYCLE CALLBACKS:
// onLoad () {}
start () {
}
// update (dt) {}
}