Version: 2020.2

PlayerSettings.WebGL.wasmArithmeticExceptions

切换到手册
public static WebGLWasmArithmeticExceptions wasmArithmeticExceptions ;

描述

The trapping mode for WebAssembly code.

WebAssembly code can trap (throw an exception) on things like division by zero, rounding a very large float to an int, and so forth. It is recommended to use Throw mode as this way potential issues can be detected sooner.