Skip to main content

Spine

Unity Playworks Plugin supports Spine up to version 4.2 beta.

Spine is an animation tool that focuses specifically on 2D animation for games. For more information, check out the website.

Install Spine

Spine can easily be added to your project:

  1. Download Spine from on their website.
  2. Move the Spine Unity package into your project directory in Unity.

Native JS Spine Compilation

With the latest version of Playworks Plugin, we now offer support for Native JS Spine for versions 4.0 and 4.1.

This feature grabs the original JavaScript Spine sources instead of transpiling them from C# code with Bridge. As a result, the performance of your creative is improved.

This feature is active by default at runtime.

Switching Back To Bridge Compilation

If you wish to switch back to the Bridge compilation, follow these steps:

  1. Locate the luna.json file in your project directory.
  2. Find the forceSourcesBasedCompilation field.
  3. Set this field to true to force C# compilation.
Please note that switching back to C# compilation is more stable, but less performant.