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

CCBusyNode ignores onEnter/onExit #6

Open
richardgroves opened this issue Feb 27, 2015 · 0 comments
Open

CCBusyNode ignores onEnter/onExit #6

richardgroves opened this issue Feb 27, 2015 · 0 comments

Comments

@richardgroves
Copy link
Contributor

Whether the CCBusyNode is seen on screen is purely controlled by the 'isVisible' flag. Removing the node from the active scene will not remove it from view - but will stop its position from being updated (as draw will no longer be called).

I'd suggest moving most of the setVisible code to onEnter/onExit and having setVisible just toggle the _indicator 'hidden' flag.

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

1 participant