예제 #1
0
        public static void LogToConsole(string message)
        {
            ConsoleWindow window = FindObjectOfType <ConsoleWindow>();

            if (window != null)
            {
                window.AddText(message, false);
            }
        }
예제 #2
0
    public void CL_ConsoleMessage(string message, NetworkMessageInfo info)
    {
        ConsoleWindow window = (ConsoleWindow)Object.FindObjectOfType(typeof(ConsoleWindow));

        if (window != null)
        {
            window.AddText(message, true);
        }
    }
예제 #3
0
        public static void LogToConsole(string message)
        {
            ConsoleWindow consoleWindow = UnityEngine.Object.FindObjectOfType <ConsoleWindow>();

            if (consoleWindow == null)
            {
                return;
            }
            consoleWindow.AddText(message, false);
        }
예제 #4
0
    public void CL_ConsoleMessage(string message, uLink.NetworkMessageInfo info)
    {
        ConsoleWindow consoleWindow = (ConsoleWindow)UnityEngine.Object.FindObjectOfType(typeof(ConsoleWindow));

        if (!consoleWindow)
        {
            return;
        }
        consoleWindow.AddText(message, true);
    }