-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
624 additions
and
33 deletions.
There are no files selected for viewing
9 changes: 5 additions & 4 deletions
9
Assets/UnitySpineImporter/Scripts/Editor/Model/Spine/Data/Animation/SpineAnimation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
using System.Collections.Generic; | ||
using LitJson; | ||
|
||
namespace UnitySpineImporter{ | ||
public class SpineAnimation { | ||
public Dictionary<string, SpineBoneAnimation> bones; | ||
public Dictionary<string, SpineSlotAnimation> slots; | ||
public List<SpineDrawOrderAnimation> draworder; | ||
|
||
public Dictionary< string, SpineBoneAnimation > bones; | ||
public Dictionary< string, SpineSlotAnimation > slots; | ||
public List< SpineDrawOrderAnimation > draworder; | ||
public List< JsonData > events; | ||
} | ||
} |
16 changes: 5 additions & 11 deletions
16
Assets/UnitySpineImporter/Scripts/Editor/Model/Spine/Data/Animation/SpineAnimationEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
using UnityEngine; | ||
using System.Collections; | ||
using LitJson; | ||
namespace UnitySpineImporter { | ||
public class SpineAnimationEvent { | ||
public double time; | ||
public string name; | ||
|
||
public class SpineAnimationEvent : MonoBehaviour { | ||
|
||
// Use this for initialization | ||
void Start () { | ||
|
||
} | ||
|
||
// Update is called once per frame | ||
void Update () { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.