正在升级3.1,
以前这样使用是没有问题的
var arm = *
ccs*.
Armature.create(
“xxx”);
arm.getAnimation().play(
“xxx”,-1,1);
现在改为下面,在WEB下面没有问题,JSB下面却出错,提示“
getAnimation(…) is null
”
var arm = new *
ccs*.
Armature(
“xxx”);
arm.getAnimation().play(
“xxx”,-1,1);
啥问题呢?