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

Remove complete animations that should not loop #85

Open
sunjay opened this issue Dec 3, 2018 · 0 comments
Open

Remove complete animations that should not loop #85

sunjay opened this issue Dec 3, 2018 · 0 comments
Labels
refactoring Something needs improvement (doesn't change functionality)

Comments

@sunjay
Copy link
Owner

sunjay commented Dec 3, 2018

Currently, our animation code relies on an animation component always being present in order to perform its work. This has forced us to keep animation components even for entities that are finished their animation.

Instead, the code in the Animator system should be changed to account for components that do not have an animation just yet. This will also enable us to remove animations using LazyUpdate from any components that do not need the animation anymore.

@sunjay sunjay added the refactoring Something needs improvement (doesn't change functionality) label Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Something needs improvement (doesn't change functionality)
Projects
None yet
Development

No branches or pull requests

1 participant