/// <summary> /// Add a new on-screen log entry. /// </summary> static void LogString(string text) { if (Application.isPlaying) { if (mLines.Count > 20) { mLines.RemoveAt(0); } mLines.Add(text); CreateInstance(); } else { UIDebug.Log(text); } }
public static void LogUI(string str) { UIDebug.Log(str); }