DeveloperConsole.DeveloperConsole.RegisterConsoleScript C# (CSharp) Метод

RegisterConsoleScript() статический приватный Метод

Register a script with the console
static private RegisterConsoleScript ( Script s, OnConsoleAttached c ) : void
s Script The script to register
c OnConsoleAttached The console attached callback delegate
Результат void
        internal static void RegisterConsoleScript(Script s, OnConsoleAttached c)
        {
            RegisteredScripts.Add(new KeyValuePair<Script, OnConsoleAttached>(s, c));
            if (Instance != null) c(Instance);
        }