Hello,
I have a lobby and chat room in a scene:
- lobby:
- a lobby where player starts from after logged in.
- players can create a chat room inside the lobby.
- only one lobby exist for a whole time in a game.
- chat room:
- a room where room members can chat.
- multiple chat rooms can exist in a game.
I am wondering which is the correct way of achiving the above.
- a lobby and a chat room in a scene.
- In this case, it is necessary to attach a custom condition which checks in which room players exist (something like room ID) to the NetworkObserver.
- a lobby in a lobby scene, and a chat room in another scene.
- In this case, SceneCondition should be attached to the NetworkObserver.
In both cases, the server checks which NetworkObjects to be share to the clients, and looks same to me.
What is the advantage of using SceneCondtion ?
using FishNet 3.11.9