public ConsoleWriter(BaseConsoleIO consoleIO, OutputColors colors)
     : base(consoleIO)
 {
     _errorColor   = colors.Error;
     _infoColor    = colors.Info;
     _warningColor = colors.Warning;
 }
Exemple #2
0
 public BaseWriter(BaseConsoleIO consoleIO)
 {
     _consoleIO = consoleIO;
 }
 void Awake()
 {
     //Connect with IO
     _consoleIO = GetComponent(typeof(BaseConsoleIO)) as BaseConsoleIO;
     _consoleIO.InputReceived += OnInputReceived;
 }
 public ConsoleWriter(BaseConsoleIO consoleIO) : base(consoleIO)
 {
 }
 public ConsoleWriter(BaseConsoleIO consoleIO) : this(consoleIO, OutputColors.Default)
 {
 }