DragonBones / DragonBonesCSharp

DragonBones C# Runtime
MIT License
537 stars 198 forks source link

What is the skinName meaning? #41

Closed zzzxxccvv closed 7 years ago

zzzxxccvv commented 7 years ago

in this function: public UnityArmatureComponent BuildArmatureComponent(string armatureName, string dragonBonesName = null, string skinName = null, string textureAtlasName = null, GameObject gameObject = null,bool isUGUI=false);

How to make more than one skin in DragonBonesPro Editor? (I can only change the export json file to make it work.)

while, I also can not find the way to change a suit of pictures for one skeleton

akdcl commented 7 years ago

Hi, DragonBonesPro Editor can not support more than one skin yet. (but dragonBones runtime support it) We will support skin share in dragonBones runtime 5.5 (armature can user other armature skin).

factory.changeSkin(armature, otherArmatureSkinData);

The changeSkin demo online The csharp db 5.5 runtime still in development, it will be released by the end of October.