@745872343 写道:
骨骼动画中指定的资源对象为 dragonBones.DragonBonesAsset和 dragonBones.DragonBonesAtlasAsset,如何在代码中创建这两类对象,求大神指点。
if (dragonBonesAssets[i] instanceof dragonBones.DragonBonesAsset) { armatureDisplay.dragonAsset = dragonBonesAssets[i]; } if (dragonBonesAssets[i] instanceof dragonBones.DragonBonesAtlasAsset) { armatureDisplay.dragonAtlasAsset = dragonBonesAssets[i]; }
帖子: 2
参与者: 1