Exemple #1
0
 public static bool Assert(bool condition, string msg, bool show_stack = true, DebugUtils.AssertType type = DebugUtils.AssertType.Info)
 {
     if (condition)
     {
         return(false);
     }
     CJDebug.Log(msg);
     return(true);
 }
Exemple #2
0
 public static bool Assert(string msg, bool show_stack = true, DebugUtils.AssertType type = DebugUtils.AssertType.Info)
 {
     return(DebugUtils.Assert(false, msg, show_stack, type));
 }
Exemple #3
0
 public static bool Assert(DebugUtils.AssertType type = DebugUtils.AssertType.Info)
 {
     return(DebugUtils.Assert(false, "Assertion", true, type));
 }