Skip to content

Zenject/Extenject support for SpacetimeDBNetworkManager #267

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

Open
FluentCoding opened this issue Mar 10, 2025 · 0 comments
Open

Zenject/Extenject support for SpacetimeDBNetworkManager #267

FluentCoding opened this issue Mar 10, 2025 · 0 comments

Comments

@FluentCoding
Copy link

FluentCoding commented Mar 10, 2025

It would be pretty cool if the SDK could ship a separate Zenject-/Extenject compatible network manager implementation (probably locked behind a symbol like ZENJECT_DEFINED) which would allow for a more natural integration of the SDK into an already zenject-based unity project. The new implementation would be straightforward, removing the singleton logic entirely, replacing Update/OnDestroy with ITickable and IDisposable and swapping instance access here: 1, 2. If there's enough interest, I would be down to write a pull request for this.

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

No branches or pull requests

2 participants