浏览代码

Update diagnostics.cs

/main
guanghuispark 3 年前
当前提交
aae50559
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      com.unity.uiwidgets/Runtime/foundation/diagnostics.cs

4
com.unity.uiwidgets/Runtime/foundation/diagnostics.cs


return style == DiagnosticsTreeStyle.singleLine;
}
public static bool FloatEqual(float left, float right) {
return Mathf.Abs(left - right) < precisionErrorTolerance;
public static bool FloatEqual(float left, float right, float precisionTolerance = precisionErrorTolerance) {
return Mathf.Abs(left - right) < precisionTolerance;
}
}

正在加载...
取消
保存