浏览代码

add some debug code

/siyaoH-1.17-PlatformMessage
Xingwei Zhu 4 年前
当前提交
59f9b000
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9
      com.unity.uiwidgets/Runtime/foundation/debug.cs

9
com.unity.uiwidgets/Runtime/foundation/debug.cs


Debug.LogException(new AssertionError(message: message, innerException: ex));
}
static int checkRound = 0;
if (enableDebug) {
checkRound += 1;
if (checkRound % 100000 == 0) {
Debug.Log("Assertion called !!!!!!!!!!!!!!!");
}
}
if ( enableDebug && !result() ) {
throw new AssertionError(message != null ? message() : "");
}

正在加载...
取消
保存