From a37a59ee598b371030e2f8ba7c090b942b8070ee Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Mon, 22 Apr 2013 12:09:49 +0200 Subject: [PATCH] Example project instructions. --- spine-unity/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 spine-unity/README.md diff --git a/spine-unity/README.md b/spine-unity/README.md new file mode 100644 index 000000000..8d0013cc6 --- /dev/null +++ b/spine-unity/README.md @@ -0,0 +1,21 @@ +The Spine runtime for Unity comes with an example project which has "spineboy" walking. When clicked, he jumps and the transition to/from walking/jumping is blended smoothly. Use the instructions below for your version of Unity. + +# Unity 4 + +1. Delete the "Assets/examples/Unity 3.5" directory. +1. Open the "Assets/examples/Unity 4/spineboy.unity" scene. + +# Unity 3.5.7 + +1. Delete the "Assets/examples/Unity 4" directory. +1. Open the "Assets/examples/Unity 3.5/spineboy.unity" scene. + +Unity 3.5.7 stores metadata in the project files, which are not included. References in the project need to be fixed up: + +1. In the Project, select "examples/Unity 3.5/spineboy/spineboy Atlas". +1. In the Inspector, set the material to "spineboy". +1. In the Project, select "examplesUnity 3.5/spineboy/spineboy Skeleton Data". +1. In the Inspector, set the atlas to "spineboy Atlas". +1. In the Hierarchy, select "spineboy". +1. In the Inspector, set the skeleton component's skeleton data to "spineboy Skeleton Data". +1. In the Inspector, set the missing script to "SpineboyComponent".