mirror of
https://github.com/Leo501/CocosCreatorTutorial.git
synced 2026-05-12 17:16:16 +08:00
修改文件
This commit is contained in:
@@ -27,6 +27,7 @@ cc.Class({
|
||||
emitter.on('test_2', this.onTest_2);
|
||||
emitter.emit('test_1', 1, 1, 1);
|
||||
emitter.emit('test_2', 1, 1, 1);
|
||||
emitter.off('test_1', this.onTest_1);
|
||||
},
|
||||
|
||||
|
||||
@@ -45,4 +46,4 @@ cc.Class({
|
||||
update: function (dt) {
|
||||
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user