remove this.node.on in animationComponent on func (#4464)

This commit is contained in:
jiaxin.lai
2019-05-21 15:17:09 +08:00
committed by pandamicro
parent 393d19ca0a
commit 7b2a09330a
-1
View File
@@ -366,7 +366,6 @@ export class AnimationComponent extends Component implements IEventTarget {
this._nameToState[stateName]!._lastframeEventOn = true;
}
}
this.node.on(type, callback, target);
return ret;
}