private static string ToText(LogDebugItem.Item item) { //; string ret = "<color=#" + item.color.r.ToString("x2") + item.color.g.ToString("x2") + item.color.b.ToString("x2") + ">" + item.no.ToString() + ":" + item.text + "</color>"; return(ret); }
private LogDebugItem.Item createItem(string text, string message, Color32 color) { LogDebugItem.Item item = new LogDebugItem.Item(); item.color = color; item.text = text; item.message = message; item.no = n++; return(item); }
private void log(LogDebugItem.Item item) { texts_.Enqueue(item); refresh(); }