全部回复(2)

  • 老师_Jokey 1 楼

    看你源码了同学,你注册和销毁的触摸事件,没有指向this自己

  • 彭123 楼主 2 楼

    懂了
    最后的this没有。

    this.node.on(Node.EventType.TOUCH_START, this.onTouchStart, this);

     

发表回复

登录后可以回复