mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-26 11:41:23 +08:00
Fix parsing Animation/slots in SkeletonJson.cs
This commit is contained in:
parent
71bffc5356
commit
ea5849764d
@ -228,7 +228,7 @@ namespace Spine {
|
|||||||
Dictionary<String, Object> timelineMap = (Dictionary<String, Object>)entry.Value;
|
Dictionary<String, Object> timelineMap = (Dictionary<String, Object>)entry.Value;
|
||||||
|
|
||||||
foreach (KeyValuePair<String, Object> timelineEntry in timelineMap) {
|
foreach (KeyValuePair<String, Object> timelineEntry in timelineMap) {
|
||||||
List<Dictionary<String, Object>> values = (List<Dictionary<String, Object>>)timelineEntry.Value;
|
List<Object> values = (List<Object>)timelineEntry.Value;
|
||||||
String timelineName = (String)timelineEntry.Key;
|
String timelineName = (String)timelineEntry.Key;
|
||||||
if (timelineName.Equals(TIMELINE_COLOR)) {
|
if (timelineName.Equals(TIMELINE_COLOR)) {
|
||||||
ColorTimeline timeline = new ColorTimeline(values.Count);
|
ColorTimeline timeline = new ColorTimeline(values.Count);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user