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);
        }