Registering Client and Server Worlds in VContainer
I am trying to build a project architecture using VContainer and Entities. Since this is a multiplayer project, I am also using NetCode For Entities and NetCode For Entities provides 2 methods to create a client and server worlds
ClientServerBootstrap.CreateServerWorld("Server World"); ClientServerBootstrap.CreateClientWorld("Client World");
Can I somehow register these two worlds in VContainer, because in the documentation there is a method RegisterNewWorld, but it creates the world itself, taking in arguments the name for the world.
RegisterSystemIntoWorld is available. Check. This should also be in the documentation. https://vcontainer.hadashikick.jp/integrations/ecs#when-to-use-your-custom-world
I am not familiar with NetCode. If there is a missing feature, please tell me specifically. Thanks a lot.