• RuntimesUnity
  • Create animation from prefab or local files

**Can you please tell me if there is an example of creating a SkeletonAnimation on the stage from local skel, png and atlas files? I can't quite figure it out. Or at least creation from _SkeletonData.asset . I need to switch the working skeleton to another, while deleting the old one. For example how it works with DragonBones: **

UnityFactory.factory.LoadDragonBonesData("folder/file_ske");
  UnityFactory.factory.LoadTextureAtlasData("folder/file_tex");
   // Build Armature
   this._armatureComp = UnityFactory.factory.BuildArmatureComponent("file");
Related Discussions
...

@FukerHaxer You can check out the example scene Spine Examples/Other Examples/Instantiate from Script that comes with the spine-unity runtime, this will load skeletons from assets at runtime.

For changing the SkeletonDataAsset at a skeleton at runtime from one to another, please check out this forum thread:
https://esotericsoftware.com/forum/d/12909-change-skeletondataasset-in-runtime