22 lines
351 B
TypeScript
22 lines
351 B
TypeScript
const {ccclass, property} = cc._decorator;
|
|
import TextBtn from "./TextBtn";
|
|
import WalletBase from "./WallerBase";
|
|
|
|
@ccclass
|
|
export default class ButtonGroup extends WalletBase {
|
|
@property({
|
|
type: [TextBtn]
|
|
})
|
|
btns: TextBtn[] = [];
|
|
|
|
// LIFE-CYCLE CALLBACKS:
|
|
|
|
// onLoad () {}
|
|
|
|
start () {
|
|
|
|
}
|
|
|
|
// update (dt) {}
|
|
}
|