1、要移除某个滚动层上的子节点,不能用remove,要先getContainer,再remove。
尤其是removeAll的时候,会把container都移除掉,然后对着一片空白你就debug吧。。。(我就找了一下午)
2、addchild的anchorpoint无效,因为在里面会被设置为0,0
还有一个函数叫ignoreAnchorPoint,也会导致对anchorpoint的设置无效
未完待续。。。
1、要移除某个滚动层上的子节点,不能用remove,要先getContainer,再remove。
尤其是removeAll的时候,会把container都移除掉,然后对着一片空白你就debug吧。。。(我就找了一下午)
2、addchild的anchorpoint无效,因为在里面会被设置为0,0
还有一个函数叫ignoreAnchorPoint,也会导致对anchorpoint的设置无效
未完待续。。。