const {ccclass, property} = cc._decorator;

@ccclass
export default class ScaleShowScripts extends cc.Component {

    @property(cc.Integer)
    startScale: number = 0;

    @property(cc.Integer)
    endScale: number = 1;

    // LIFE-CYCLE CALLBACKS:

    onLoad () {
        this.node.scale = this.startScale;
        cc.tween(this.node).to(0.3,{scale:this.endScale},{easing:cc.easing.backOut}).start();
    }

    start () {

    }

    // update (dt) {}
}