We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
state.removeListener
Example below, when I remove the callback when the first callback is called, then the second callback never gets called.
const animation = new Spine(/* ... */) const listener = { complete: () => { animation.state.removeListener(listener) }, } animation.state.addListener(listener) animation.state.addListener({ complete: () => { // Never called }, })
The text was updated successfully, but these errors were encountered:
"pixi-spine": "^4.0.4"
Sorry, something went wrong.
Maybe the problem is in the for i loop that calls the callback
No branches or pull requests
Example below, when I remove the callback when the first callback is called, then the second callback never gets called.
The text was updated successfully, but these errors were encountered: