private static void Log(Type type, string info, Action <object> consoleLogAction = null) { (consoleLogAction ?? UnityEngine.Debug.Log)($"[{type.ToString().ToUpper()}] {info}"); DebugCanvas.Print(info, type.ToString().ToUpper(), colors.Of(type, Color.white)); }