ButtonSelect1.js 738 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. cc.Class({
  2. extends: cc.Component,
  3. properties: {
  4. imageNormal: {
  5. default: null,
  6. type: cc.Sprite,
  7. serializable: true,
  8. },
  9. imageLight: {
  10. default: null,
  11. type: cc.Sprite,
  12. serializable: true,
  13. },
  14. textContent: {
  15. default: null,
  16. type: cc.Label,
  17. serializable: true,
  18. },
  19. // bar: {
  20. // get () {
  21. // return this._bar;
  22. // },
  23. // set (value) {
  24. // this._bar = value;
  25. // }
  26. // },
  27. },
  28. // LIFE-CYCLE CALLBACKS:
  29. // onLoad () {},
  30. start () {
  31. },
  32. // update (dt) {},
  33. });