[]如何安全删除龙骨动画?
private completeHandler():void如图所示,使用官方例子在播放完毕后里面销毁会报错.
{
// this.play();
this.mArmature.destroy(true);
}
报错位置为:
这里的_player为null
据观察 好像此时龙骨动画并未播放完毕,在stage中还有残留.
使用的IDE版本为1.5.4
要回复问题请先登录
private completeHandler():void如图所示,使用官方例子在播放完毕后里面销毁会报错.
{
// this.play();
this.mArmature.destroy(true);
}
要回复问题请先登录
1 个回复
Laya_XS
赞同来自: