#Scene architecture in netcode project
1 messages · Page 1 of 1 (latest)
it's same thing
SceneSystem is just a static api which calls EntityManager stuff
under the hood SubScene monobehaviour does same thing this SceneSystem api does
except it also ensures that subscene makes it into the build
yeahh, but subscene is loaded to both clientworld and serverworld.
Subscene monobeh injects subscenes into all worlds. If you will look into it's source - it might give you idea about how to "revert" it for worlds you don't want.
*for auto load
for a netcode projects if you want seperate client/server scenes just have to load them manually
my subscene loading stuff in core allows you to specify scenes that should only load in client, world or both
if you want an example
I actually just made monobeh that injects same worlds and removes scene entity if it doesn't belong here 😅
Works nice for testing. In builds it's never a case
could u share repo? i ll check it out
SubSceneLoadingSystem
the primary things you can look at
thanks