Michael M. Posted April 2, 2016 Share Posted April 2, 2016 Looks like 'removed' event is not propagating to it's children (and it probably shouldn't). But is there a way to know if the object was removed from the rendering graph (e.g. it's parent (parent's parent (parent's parent's parent (...))) was removed from it's.. parent without recursive checking? I hope what I just wrote makes sense.. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 2, 2016 Share Posted April 2, 2016 Well, if you use destroy(true); then it will destroy everything recursively (i hope Sprite's textures wont be destroyed) , and all subtree will have parent=null. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.