Closed krapnikkk closed 2 years ago
feature: Add click sound for label bugs: ccc引擎裁剪无关骨骼动画代码后运行异常 修复方法: 1.更新setSpine&setDragonBones方法中的销毁资源方法
this.url = null; this.clearContent();
更新为
freeSpine|freeDragonBones
设置url或者clearContent会导致_contentItem置空; 2.onChange时需要判断_contentItem.type再去onChange,不然被裁剪掉的功能代码会运行异常
feature: Add click sound for label bugs: ccc引擎裁剪无关骨骼动画代码后运行异常 修复方法: 1.更新setSpine&setDragonBones方法中的销毁资源方法
更新为
设置url或者clearContent会导致_contentItem置空; 2.onChange时需要判断_contentItem.type再去onChange,不然被裁剪掉的功能代码会运行异常