SpendCoinCtrl.js 283 B

12345678910111213141516
  1. cc.Class({
  2. extends: cc.Component,
  3. properties: {
  4. coinSkeletion: sp.Skeleton,
  5. },
  6. show(cb) {
  7. this.coinSkeletion.setAnimation(0, 'changjing_kz');
  8. this.coinSkeletion.setCompleteListener(cb || function () { });
  9. }
  10. // update (dt) {},
  11. });