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
The text was updated successfully, but these errors were encountered:
You could use obj.getCurAnim()?.name, that way you don't need to test for null.
Sorry, something went wrong.
lajbel
No branches or pull requests
sort of related to a problem, more a helpful feature
constantly checking if the current animation is null before checking what the current animations name is is kind of tiresome
I'd like a fallback animation option for sprites
You should be able to provide the name of the fallback animation in the anims opt
I have a small code snippet in update that checks if the animation is null and then changes it to the fallback animation instead.
i dont think any other context should be needed
:)
The text was updated successfully, but these errors were encountered: