Cocos里有ComputeScreenPos这个函数吗,点转换到屏幕坐标的

Cocos里有ComputeScreenPos这个函数吗

有,忘了叫啥了

this.node.getParent().getComponent(UITransform).convertToWorldSpaceAR(this.node.getPosition());