var tex = new sp.SkeletonTexture({ width: texture.width, height: texture.height });
用自己resources下的单个 png 进行局部换装 这个 sp.SkeletonTexture 模拟器不能使用 浏览器可以 怎么破
前辈们。。。。。
var tex = new sp.SkeletonTexture({ width: texture.width, height: texture.height });
用自己resources下的单个 png 进行局部换装 这个 sp.SkeletonTexture 模拟器不能使用 浏览器可以 怎么破
前辈们。。。。。
sp.SkeletonTexture is not a constructor 报这个错 但是 浏览器就可以 没报错
原生平台下面不支持这个方法,换装的话,参考下官方示例里面
https://github.com/cocos-creator/example-cases/tree/master/assets/cases/spine