loodakrawa / SpriterDotNet

A pure C# Spriter implementation
zlib License
220 stars 75 forks source link

Changing sprites of prefab e.g. when switching armor or weapons #114

Open TheItCrOw opened 4 years ago

TheItCrOw commented 4 years ago

Hey,

I am currently trying out your unity importer and all the animations do actually import perfectly (not like spriter2unity). However, no typical unity animations are created which I could use in the Animator View. WIll this be added or does this even exist already?

But primarily: Is it possible to switch certain sprites in realtime? E.g. if the user switches from one sword to another, all I had to do was switch the sprites. Or if he equips different armor. I've tried it with the generated prefab of the importer but did not seem to work.