//TODO OldSceneNameContext (the scene we want to stop observing) public override void Process(NetMessage msg) { var sceneContext = SceneManager.GetSceneByName(msg.NewSceneNameContext); if (!sceneContext.IsValid()) { Logger.LogError("No scene was found for Observer refresh!!", Category.Connections); return; } SubSceneManager.ProcessObserverRefreshReq(SentByPlayer, sceneContext); }
//TODO OldSceneNameContext (the scene we want to stop observing) public override void Process() { var sceneContext = SceneManager.GetSceneByName(NewSceneNameContext); if (!sceneContext.IsValid()) { Logger.LogError("No scene was found for Observer refresh!!"); return; } SubSceneManager.ProcessObserverRefreshReq(SentByPlayer, sceneContext); }