Utility/MathUtils.cs
@@ -187,13 +187,13 @@ } longResult += (long)System.Math.Pow(64, i) * index; if(longResult>int.MaxValue) { DesignDebug.LogError("超出Int最大值,尝试转换为long类型"); DebugEx.LogError("超出Int最大值,尝试转换为long类型"); return 0; } result = (int)longResult; } catch { DesignDebug.LogError("运算溢出"); DebugEx.LogError("运算溢出"); return 0; } }