// onReturnToWorldMap -- Hook called when returning to the world map after a level ends public void onReturnToWorldMap(string key, LevelSystem levelSystem) { ScriptBase script = null; if (_scripts.TryGetValue(key, out script)) { script.onReturnToWorldMap(levelSystem); } }