![]() The spine-unity runtime works without additional plugins. To enable 2D Toolkit compatibility, open Unity's Preferences via Edit - Preferences ( Unity - Preferences on Mac) and in section Spine select Define TK2D - Enable. Spine-unity supports 2D Toolkit and can render Spine skeletons using TK2D's texture atlas system. If the entry is not yet listed in the Project panel, you may need to close and re-open Unity. In the Project panel you will now find spine-unity Runtime and spine-unity Runtime Examples entries under Packages. The Package Manager window will now list the added package entry. The part #4.1 determines the branch and can also be set to a specific git commit hash like #5e8e4c21f11603ba1b72c220369d367582783744 to ensure everyone on your project has the same consistent state of the package. For each of the three packages, select the + icon, choose Add package from git URL., and enter the git URL above (or from the download page). Open the Package Manager in Unity (via Window > Package Manager). Unfortunately a bug in Unity causes the error "Opening scene in read-only package!" when trying to directly open a scene within a package downloaded via git URL: To open the example scenes of the Spine Examples package, please copy the scene files from the package directory to your Assets directory using your system's file manager ( Explorer or Finder respectively). option, you can also directly use add the three packages with these URLs: ![]() Using Unity Package Manager - 'Add package from git URL' instead of the unitypackage If your Unity version is rather recent and your Unity Package Manager provides the Add package from git URL. Copy the folder spine-runtimes/spine-csharp/src to your project's Assets/Spine/Runtime/spine-csharp folder.Īlternative Installation via Package Manager.Copy the contents of spine-runtimes/spine-unity/Assets/ to your project's Assets/ folder.Clone the spine-runtimes Git repository.Getting latest changes via Git instead of the unitypackage Import the unitypackage (you can double-click on it and Unity will open it). ![]() Alternatively you can get the latest changes via Git as described below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |