PlayerStates.js 764 B

123456789101112131415161718192021222324252627282930313233
  1. // 角色动态数据
  2. cc.Class({
  3. extends: cc.Component,
  4. properties: {
  5. // foo: {
  6. // // ATTRIBUTES:
  7. // default: null, // The default value will be used only when the component attaching
  8. // // to a node for the first time
  9. // type: cc.SpriteFrame, // optional, default is typeof default
  10. // serializable: true, // optional, default is true
  11. // },
  12. // bar: {
  13. // get () {
  14. // return this._bar;
  15. // },
  16. // set (value) {
  17. // this._bar = value;
  18. // }
  19. // },
  20. },
  21. // LIFE-CYCLE CALLBACKS:
  22. // onLoad () {},
  23. start () {
  24. },
  25. // update (dt) {},
  26. });