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); }
public static bool Assert(string msg, bool show_stack = true, DebugUtils.AssertType type = DebugUtils.AssertType.Info) { return(DebugUtils.Assert(false, msg, show_stack, type)); }
public static bool Assert(DebugUtils.AssertType type = DebugUtils.AssertType.Info) { return(DebugUtils.Assert(false, "Assertion", true, type)); }