Cocos里有ComputeScreenPos这个函数吗
有,忘了叫啥了
this.node.getParent().getComponent(UITransform).convertToWorldSpaceAR(this.node.getPosition());
Cocos里有ComputeScreenPos这个函数吗
有,忘了叫啥了
this.node.getParent().getComponent(UITransform).convertToWorldSpaceAR(this.node.getPosition());