![]() ![]() Replace usage of Attachment.GetClone(bool cloneMeshesAsLinked) with Attachment.GetCopy(bool cloneMeshesAsLinked) Replace usage of Attachment.GetClone() with Attachment.Copy() and usage of MeshAttachment.GetLinkedClone() with MeshAttachment.NewLinkedMesh(). As a replacement you can use AnimationState.ClearTrack(0) followed by var entry = AnimationState.SetAnimation(0, animation, loop) entry.TrackTime = time to achieve similar behaviour. PoseSkeleton() and PoseWithAnimation() extension methods were removed. Skin.FindAttachmentsForSlot(slot, attachments) Replace any usage of Skin.FindAttachmentsForSlot() and Skin.FindNamesForSlot() with the combined Skin.GetAttachments(int slotIndex, List attachments) method: // replace this code: Replace any usage of Skin.AddAttachment() with Skin.SetAttachment(). If you receive compile errors from your own code because of using renamed and no-longer existing methods, the following steps will help to quickly make your own code compatible again: Some methods have been renamed or replaced in 3.8. Import the latest Spine-Unity 3.8 unitypackage.įor notable changes to the API, please see the Changelog, sections C# and Unity Replace the old exported 3.7 skeleton assets with their re-exported 3.8 counterparts. Note any custom changes you made to your Spine-Unity runtime.ĭelete your old "Spine" and "Spine Examples" folders. This is to make sure there are no active Spine objects. Recommended upgrade steps for upgrading from 3.7 to 3.8:Ĭreate a backup of your 3.7 project to be on the safe side.Ĭlose all open scenes and create a new blank scene, and have nothing selected. If you have many projects, we suggest automating exporting your project files:įor example, here is a script we use to export all the Spine example projects and to create texture atlases: The skeleton data files need to be re-exported using Spine 3.8. json animation and sprite data in Spine Editor 3.8.Note: Json and binary skeleton data files exported from Spine 3.7 will not be readable by the Spine-Unity 3.8 runtime! json animation and sprite data in Spine Editor 3.8.75Įxample for how to load a. Only check it if you want to see how game works "under the hood"/learn how to use Spine Editor: setting up animation, editing graphics data.Īnyway, send me a PM if you have any questions about it.Įxample for how to load a. I'm still figuring some stuff myself, such as correct texture packer settings and generating outline. One solution I can think of: make your edits, save a project and send it to me with data folder in PM, so I can upgrade it to a game-compatible version. Also, some data may be lost between downgrading/upgrading v3 and v4. ![]() skel/json are not compatible with the game as is. However, there's one big downside with no real solution before we'll have access to a cracked Spine editor version no lower than 4.0.61: 3.8.75 output. My reasoning is simple - I want people to be able to edit it themselves with a proper tools and learn how to work with Spine itself. I also downgraded Spine file version back to 3.8.75, which you can find cracked online. ![]() ![]() bundle file and sorted sprite data to individual folders. MBM 2.0.15.1 + DLC Unpacked Sprite Data ( Mega link) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |