更新了Creator 2.3.3版本,想使用spine挂点功能。
看帮助文档上写的例子
// 生成指定骨骼名称节点树的方法
generateSomeNodes () {
let attachUtil = this.skeleton.attachUtil;
let boneNodes = attachUtil.generateAttachedNodes(this.boneName);
let boneNode = boneNodes[0];
boneNode.addChild(cc.instantiate(this.targetPrefab));
},
但是实际版本中 creator.d.ts 中并没有 attachUtil 这个参数?
求大佬帮忙,这个功能 怎么代码创建
啥意思