放在Layout节点下的节点要实现touch拖动,除了type = none外,其它模限都给限制拖不出区域了。这个限制能改变吗?
放个gif:
拖拽开始触摸的时候,将该节点的父节点设为背景节点即可!
this.node.parent = cc.find(“Canvas/background”);