Skip to content

Commit f2a19c9

Browse files
committed
New plugin build
1 parent dedab59 commit f2a19c9

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

plugins/spine/dist/SpinePlugin.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10374,6 +10374,16 @@ var SpinePlugin = new Class({
1037410374
return atlas;
1037510375
},
1037610376

10377+
getVector2: function (x, y)
10378+
{
10379+
return new Spine.Vector2(x, y);
10380+
},
10381+
10382+
getVector3: function (x, y, z)
10383+
{
10384+
return new Spine.webgl.Vector3(x, y, z);
10385+
},
10386+
1037710387
setDebugBones: function (value)
1037810388
{
1037910389
if (value === undefined) { value = true; }
@@ -10841,6 +10851,23 @@ var SpineGameObject = new Class({
1084110851
return this;
1084210852
},
1084310853

10854+
getBoneList: function ()
10855+
{
10856+
var output = [];
10857+
10858+
var skeletonData = this.skeletonData;
10859+
10860+
if (skeletonData)
10861+
{
10862+
for (var i = 0; i < skeletonData.bones.length; i++)
10863+
{
10864+
output.push(skeletonData.bones[i].name);
10865+
}
10866+
}
10867+
10868+
return output;
10869+
},
10870+
1084410871
getAnimationList: function ()
1084510872
{
1084610873
var output = [];

plugins/spine/dist/SpinePlugin.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)