Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling destroy() on a UIContinuousButton does not destroy its children #64

Open
ricardojmendez opened this issue Jan 24, 2012 · 1 comment

Comments

@ricardojmendez
Copy link
Contributor

I have the following setup: a UIContinuousButton, which I later assign as a parent of both a text instance and a UIStateSprite. If I call button.destroy(), the button itself is removed, but neither the text instance nor the sprite are.

Is this the intended behaviour?

@FrittenKeeZ
Copy link
Contributor

Parenting is a fairly new addition and currently only affects positioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants