Skip to content

CCBusyNode ignores onEnter/onExit #6

@richardgroves

Description

@richardgroves

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions