ForcedCrashCategory 强制崩溃类别

enumeration

Description 描述

Specifies the category of crash to cause when calling ForceCrash().

指定调用ForceCrash()时要引起的崩溃类别。

Properties 属性

非法访问(访问违规) AccessViolation 通过执行无效的内存访问导致的崩溃。无效内存访问在每个平台上执行如下操作: Cause a crash by performing an invalid memory access.The invalid memory access is performed on each platform as follows:
致命错误 FatalError 使用Unity的本地致命错误实现导致的崩溃。 Cause a crash using Unity's native fatal error implementation.
终止 Abort 通过调用 abort() 中止函数导致的崩溃 Cause a crash by calling the abort() function.
纯虚函数 PureVirtualFunction 通过调用纯虚函数来引发异常,从而导致崩溃。 Cause a crash by calling a pure virtual function to raise an exception.