private void OutputText(string message, OutputColorType colorType) { _output.text += FormatColor(message + "\n", colorType); //_output.verticalScrollbar.value = 1; }
public string FormatColor(string message, OutputColorType colorType) { return("<color=" + ColorPalette[(int)colorType] + ">" + message + "</color>"); }