GameMyFriend.js 337 B

1234567891011121314151617181920212223
  1. const GameModule = require('../utils/GameModule');
  2. cc.Class({
  3. extends: cc.Component,
  4. properties: {
  5. scrollView: cc.Node
  6. },
  7. // LIFE-CYCLE CALLBACKS:
  8. // onLoad () {},
  9. start () {
  10. },
  11. init() {
  12. this.scrollView.getComponent('GameFriendScrollView').init();
  13. }
  14. // update (dt) {},
  15. });