Exemple #1
0
        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);
        }
Exemple #2
0
 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);
 }
Exemple #3
0
 private void log(LogDebugItem.Item item)
 {
     texts_.Enqueue(item);
     refresh();
 }