// onLevelEnd -- Hook for the end of a level public void onLevelEnd(string key) { ScriptBase script = null; if (_scripts.TryGetValue(key, out script)) { script.onLevelEnd(); } }