New plugin build

This commit is contained in:
Richard Davey 2019-07-29 17:45:52 +01:00
parent dedab594fd
commit f2a19c933c
2 changed files with 28 additions and 1 deletions

View file

@ -10374,6 +10374,16 @@ var SpinePlugin = new Class({
return atlas;
},
getVector2: function (x, y)
{
return new Spine.Vector2(x, y);
},
getVector3: function (x, y, z)
{
return new Spine.webgl.Vector3(x, y, z);
},
setDebugBones: function (value)
{
if (value === undefined) { value = true; }
@ -10841,6 +10851,23 @@ var SpineGameObject = new Class({
return this;
},
getBoneList: function ()
{
var output = [];
var skeletonData = this.skeletonData;
if (skeletonData)
{
for (var i = 0; i < skeletonData.bones.length; i++)
{
output.push(skeletonData.bones[i].name);
}
}
return output;
},
getAnimationList: function ()
{
var output = [];

File diff suppressed because one or more lines are too long