Exemplo n.º 1
0
 protected void WriteToLog(string caller, string message, LogType type, bool showOnHud = false, int duration = Settings.DefaultLocalMessageDisplayTime, string color = MyFontEnum.Green)
 {
     OnWriteToLog?.Invoke($"{Id}: {caller}", message, type, showOnHud, duration, color);
 }
Exemplo n.º 2
0
 public void WriteToLog(string caller, string message)
 {
     OnWriteToLog?.Invoke(caller, message);
 }
Exemplo n.º 3
0
 public void WriteToLog(string caller, string message, LogType logType)
 {
     OnWriteToLog?.Invoke(string.IsNullOrWhiteSpace(Id) ? caller : $"({Id}) {caller}", message, logType);
 }