UserInformationRichText.js 284 B

12345678910111213141516171819202122232425
  1. cc.Class({
  2. extends: cc.Component,
  3. properties: {
  4. },
  5. // LIFE-CYCLE CALLBACKS:
  6. // onLoad () {},
  7. start () {
  8. },
  9. init (game) {
  10. this.game = game;
  11. },
  12. clickEditName() {
  13. this.game.showEditName()
  14. },
  15. // update (dt) {},
  16. });