Commit 89adefa9 authored by liujiangnan's avatar liujiangnan

feat: 每次只注册一次

parent 3b6a558a
......@@ -431,7 +431,7 @@ cc.Class({
const state = dragonDisplay.playAnimation(name, times);
dragonDisplay.on(dragonBones.EventObject.COMPLETE, () => {
dragonDisplay.once(dragonBones.EventObject.COMPLETE, () => {
tip.active = false;
if (cb) {
cb();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment