新人求助?event.detail是啥意思呀?

   this.node.emit('hello!',event.detail);          //我们要保持消息的一致 一开始的名字被存在event.detail中了
    this.node.getChildByName('msg').getComponent(cc.Label).string = 'hello! '+ event.detail; //和一开始的伙伴打声招呼吧~

http://www.cocos.com/docs/creator/api/classes/Event.EventCustom.html#property_detail

再次感谢大神

别叫我大神!以后叫我神盾局吧:joy:

好的,神盾局。