mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
Formatting.
This commit is contained in:
parent
3d9ee5a743
commit
e2c870ff0c
@ -32,7 +32,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Spine {
|
namespace Spine {
|
||||||
/// <summary>>An attachment with vertices that are transformed by one or more bones and can be deformed by a slot's vertices.</summary>
|
/// <summary>An attachment with vertices that are transformed by one or more bones and can be deformed by a slot's vertices.</summary>
|
||||||
public class VertexAttachment : Attachment {
|
public class VertexAttachment : Attachment {
|
||||||
internal int[] bones;
|
internal int[] bones;
|
||||||
internal float[] vertices;
|
internal float[] vertices;
|
||||||
|
|||||||
@ -38,7 +38,7 @@ module spine {
|
|||||||
this.attachmentLoader = attachmentLoader;
|
this.attachmentLoader = attachmentLoader;
|
||||||
}
|
}
|
||||||
|
|
||||||
readSkeletonData (json: string | any ): SkeletonData {
|
readSkeletonData (json: string | any): SkeletonData {
|
||||||
let scale = this.scale;
|
let scale = this.scale;
|
||||||
let skeletonData = new SkeletonData();
|
let skeletonData = new SkeletonData();
|
||||||
let root = typeof(json) === "string" ? JSON.parse(json) : json;
|
let root = typeof(json) === "string" ? JSON.parse(json) : json;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user