local str = "animation/animal/" .. tostring(GameData.tAnimalManager.strBone) .. "/" .. tostring(GameData.tAnimalManager.strBone) .. ".json"
local str1 = "animation/animal/" .. tostring(GameData.tAnimalManager.strBone) .. "/" .. tostring(GameData.tAnimalManager.strBone) .. ".atlas"
print("str str1",str,str1)
local skeletonNode = sp.SkeletonAnimation:create(str, str1, 1.0)
skeletonNode:setPosition(cc.p(190,300))
skeletonNode:setAnimation(0, "ui", true)
selectBtn.page:addChild(skeletonNode)
local str1 = "animation/animal/" .. tostring(GameData.tAnimalManager.strBone) .. "/" .. tostring(GameData.tAnimalManager.strBone) .. ".atlas"
print("str str1",str,str1)
local skeletonNode = sp.SkeletonAnimation:create(str, str1, 1.0)
skeletonNode:setPosition(cc.p(190,300))
skeletonNode:setAnimation(0, "ui", true)
selectBtn.page:addChild(skeletonNode)