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

How can ZenjectBinding bind a component to the Project Context? #44

Open
thePostFuturist opened this issue Nov 19, 2019 · 2 comments
Open

Comments

@thePostFuturist
Copy link

ZenjectBinding works when bound in a SceneContext, but does not get bound to a ProjectContext when I load Scenes Additively via ZenjectSceneLoader.

Is there something that I'm missing or is this feature not implemented? If not, what would be the suggested methodology?

@cpetry
Copy link

cpetry commented Jan 8, 2020

Did you find a solution for that?

@thePostFuturist
Copy link
Author

Did you find a solution for that?

@svermeulen stated there is not. The long way is assigning the existing game object to an injected class. This solution requires writing more boilerplate code, however

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants