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