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

add new bindable property in class to bind exist object's bindable in drawable. #460

Open
andy840119 opened this issue Feb 11, 2021 · 0 comments
Labels
code quality Improve code quality. dispute Not really sure.

Comments

@andy840119
Copy link
Member

https://github.com/ppy/osu-framework/wiki/Bindable-Flow
Due to this article, bindable on drawable will be recycled automatically if drawable has destroyed.
So it might not need to call bindable.unbindAll() in destroy method.
But still not sure is it ok to use object.bindable.BindValueChanged() directly in other drawable?

@andy840119 andy840119 added code quality Improve code quality. dispute Not really sure. labels Feb 11, 2021
@andy840119 andy840119 changed the title Writing new bindable to bind exist object's bindable in drawable. add new bindable property in class to bind exist object's bindable in drawable. Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improve code quality. dispute Not really sure.
Projects
None yet
Development

No branches or pull requests

1 participant