internal static void RegisterConsoleScript(Script s, OnConsoleAttached c) { RegisteredScripts.Add(new KeyValuePair<Script, OnConsoleAttached>(s, c)); if (Instance != null) c(Instance); }