fr.jeanf.scenemanagement 0.3.13 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,7 +129,6 @@ namespace jeanf.scenemanagement
129
129
  _activeScenarios.Remove(UnloadScenario(scenarioID));
130
130
  List<string> scenarioList = _activeScenarios.Select(scenario => scenario.id.ToString()).ToList();
131
131
  UpdateScenariosList?.Invoke(scenarioList);
132
- WorldManager.ResetWorld.Invoke();
133
132
  }
134
133
 
135
134
  private Scenario UnloadScenario(string scenarioID)
@@ -152,6 +151,7 @@ namespace jeanf.scenemanagement
152
151
  _sceneLoader.UnLoadSceneRequest(scene);
153
152
  }
154
153
 
154
+ WorldManager.ResetWorld.Invoke();
155
155
  return scenario;
156
156
  }
157
157
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fr.jeanf.scenemanagement",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "displayName": "Scene Management",
5
5
  "description": "This package contains two scene loading system, one is additive, the other is to load subscenes. \nBoth system are living side-by-side.\nThe dynamic systems handles the loading of all static content (environment) using subscenes.\nThe additive system loads scene additively depending on zone & region and upon scenario load/unload requests. Each region or scenario can have dependency that will remain loaded until either a region or a scenario became irrelevant.",
6
6
  "unity": "2021.3",