public Color GetFontColor() { switch (type) { case LogType.Error: return(Color.Color32(128, 0, 0)); case LogType.Complete: return(Color.Color32(0, 0, 205)); case LogType.Info: case LogType.Warnning: case LogType.Debugging: default: return(Color.Color32(0, 0, 0)); } }
public Color GetBackgroundColor() { switch (type) { case LogType.Error: return(Color.Color32(255, 140, 0)); case LogType.Warnning: return(Color.Color32(255, 255, 0)); case LogType.Complete: return(Color.Color32(0, 128, 0)); case LogType.Debugging: return(Color.Color32(0, 255, 255)); case LogType.Info: default: return(Color.Color32(255, 255, 255)); } }