文档

Unity Engine

Unity Engine

ExplicitlyThrownExceptionsOnly

Enable throw support.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
ExplicitlyThrownExceptionsOnly = 1

Remarks

With this option, exceptions can be thrown and caught in WebGL. But only exceptions explictly thrown will work. NullReferenceExceptions can still cause your content to fail. This has a significant cost in performance and build size over WebGLExceptionSupport.None, so only use it when you need it.