public static void LogToConsole(string message) { ConsoleWindow window = FindObjectOfType <ConsoleWindow>(); if (window != null) { window.AddText(message, false); } }
public void CL_ConsoleMessage(string message, NetworkMessageInfo info) { ConsoleWindow window = (ConsoleWindow)Object.FindObjectOfType(typeof(ConsoleWindow)); if (window != null) { window.AddText(message, true); } }
public static void LogToConsole(string message) { ConsoleWindow consoleWindow = UnityEngine.Object.FindObjectOfType <ConsoleWindow>(); if (consoleWindow == null) { return; } consoleWindow.AddText(message, false); }
public void CL_ConsoleMessage(string message, uLink.NetworkMessageInfo info) { ConsoleWindow consoleWindow = (ConsoleWindow)UnityEngine.Object.FindObjectOfType(typeof(ConsoleWindow)); if (!consoleWindow) { return; } consoleWindow.AddText(message, true); }