wasmArithmeticExceptions
The trapping mode for WebAssembly code.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static WebGLWasmArithmeticExceptions wasmArithmeticExceptions { get; set; }
Remarks
WebAssembly code might throw an exception if you're using arithmetic operations like division by zero or rounding a very large float to an integer. Unity recommends using Throw mode to help detect for potential issues sooner.