FriendHomeInfo.js 315 B

123456789101112131415161718192021
  1. const GameModule = require("../utils/GameModule");
  2. cc.Class({
  3. extends: cc.Component,
  4. properties: {
  5. userHead: cc.Sprite,
  6. userNick: cc.Label,
  7. userStars: cc.Label
  8. },
  9. onLoad () {
  10. GameModule.friendInfo = this;
  11. },
  12. start () {
  13. },
  14. // update (dt) {},
  15. });