在显示弹出框时想让它保持在最上层,弹出框是加到canvas上的,
root.addChild(this.rootNode); this.rootNode.setSiblingIndex(100);
发现这样设置无效,siblingindex仍然是自动计算的。想达到效果是不是还得用localZorder?
在显示弹出框时想让它保持在最上层,弹出框是加到canvas上的,
root.addChild(this.rootNode); this.rootNode.setSiblingIndex(100);
发现这样设置无效,siblingindex仍然是自动计算的。想达到效果是不是还得用localZorder?