不用的节点要用destroyAllChildren而非removeAllChildren
不然不会调onDestroy,注册的事件也会继续走。
removeAllChildren执行的回调有:onDisable。destroyAllChildren执行的回调有:onDisable、onDestroy。
不然不会调onDestroy,注册的事件也会继续走。
removeAllChildren 执行的回调有:onDisable。destroyAllChildren 执行的回调有:onDisable、onDestroy。