123456789101112131415161718192021222324252627 |
- cc.Class({
- extends: cc.Component,
- properties: {
- // labelWave: cc.Label,
- // anim: cc.Animation
- },
- // use this for initialization
- onLoad: function () {
- },
- show (num) {
- // this.labelWave.string = num;
- // this.anim.play('wave-pop');
- },
- hide () {
- this.node.active = false;
- }
- // called every frame, uncomment this function to activate update callback
- // update: function (dt) {
- // },
- });
|