Version: 2022.3

PlayerSettings.WebGL.wasmArithmeticExceptions

切换到手册
public static WebGLWasmArithmeticExceptions wasmArithmeticExceptions ;

描述

The trapping mode for WebAssembly code.

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.