mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-10 04:36:57 +08:00
Docs.
This commit is contained in:
parent
79a5bf4493
commit
95dd47c790
@ -14,11 +14,14 @@ To use spine-unity in your own Unity project first:
|
|||||||
|
|
||||||
Next, there are a few options for importing Spine skeletons into your Unity project:
|
Next, there are a few options for importing Spine skeletons into your Unity project:
|
||||||
|
|
||||||
**The hard way**
|
### Drag and drop import
|
||||||
|
|
||||||
1. Follow the [setup video](https://www.youtube.com/watch?v=-V84OIvZdQc) to manually set up the assets for a skeleton in Unity. This video may prove useful to understand how the pieces fit together.
|
1. Drag and drop a folder containing the JSON, atlas and PNG files exported from Spine directly into Unity.
|
||||||
|
1. Drag the prefab that was created into your scene.
|
||||||
|
|
||||||
**The easy way**
|
The [drag and drop video](www.youtube.com/watch?v=-Gk_zJsY1Ms) shows how this works.
|
||||||
|
|
||||||
|
### Automated import
|
||||||
|
|
||||||
1. Place the JSON, atlas and PNG files exported from Spine into your Unity project directory.
|
1. Place the JSON, atlas and PNG files exported from Spine into your Unity project directory.
|
||||||
1. Right click the JSON file and click `Spine`, `Ingest` to create the Unity assets.
|
1. Right click the JSON file and click `Spine`, `Ingest` to create the Unity assets.
|
||||||
@ -26,12 +29,9 @@ Next, there are a few options for importing Spine skeletons into your Unity proj
|
|||||||
|
|
||||||
The [readme PDF](https://raw.githubusercontent.com/EsotericSoftware/spine-runtimes/master/spine-unity/README.pdf) illustrates these steps.
|
The [readme PDF](https://raw.githubusercontent.com/EsotericSoftware/spine-runtimes/master/spine-unity/README.pdf) illustrates these steps.
|
||||||
|
|
||||||
**The easier way**
|
### Manual import
|
||||||
|
|
||||||
1. Drag and drop a folder containing the JSON, atlas and PNG files exported from Spine directly into Unity.
|
1. Follow the [setup video](https://www.youtube.com/watch?v=-V84OIvZdQc) to manually set up the assets for a skeleton in Unity. This video may prove useful to understand how the pieces fit together but the other import methods are much easier.
|
||||||
1. Drag the prefab that was created into your scene.
|
|
||||||
|
|
||||||
The [drag and drop video](www.youtube.com/watch?v=-Gk_zJsY1Ms) shows how this works.
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user