
It is important not to forget to indicate here that we do NOT need an atlas when exporting (the “Create atlas” field). The export settings are shown in the figure below. In addition to this, we also need a JSON file generated by the editor during export. The process of creating animation itself will not be described here, the developer's site has excellent documentation on this.Įach Spine project is actually a folder with used images and a file with project settings (*. Therefore, a window for import was written, into which it is enough to drag the animation export folder from the Spine editor and click "OK". Importing animation from the Spine editor, manually, is described in a simple video instruction, but in the case when several people are working on a project, this can cause some difficulties. Csharp library that can be downloaded here (but it is already available in the attached project).2D Toolkit (v 2.4.0 at the time of this writing).
#Unity spine2d rotate bone free


Īt the end of the article, a ready-made animation and a test project are attached, the result of which will look something like this: Let's take an example of the particle system available in the Unity editor. It will describe how you can simplify the import of Spine animation into a Unity project, and what you need to do to bind an arbitrary object (visual effect, collider, etc.) to the animation itself or its individual bones.
