mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
remove this.node.on in animationComponent on func (#4464)
This commit is contained in:
@@ -366,7 +366,6 @@ export class AnimationComponent extends Component implements IEventTarget {
|
||||
this._nameToState[stateName]!._lastframeEventOn = true;
|
||||
}
|
||||
}
|
||||
this.node.on(type, callback, target);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user