Utils

class in UnityEngine.Diagnostics

/

Implemented in:UnityEngine.CoreModule

Description 描述

A utility class that you can use for diagnostic purposes.

一个工具类,你能够用于,诊断功能

Static Methods 静态方法

强制崩溃 ForceCrash 手动导致指定类别中的一个应用程序崩溃。 Manually causes an application crash in the specified category.
本地断言 NativeAssert 手动生成一个断言,将指定的消息输出到日志并注册一个错误。 Manually causes an assert that outputs the specified message to the log and registers an error.
本地错误 NativeError 手动生成一个本地错误,将指定的消息输出到日志并注册一个错误。 Manually causes a native error that outputs the specified message to the log and registers an error.
本地警告 NativeWarning 手动生成一个警告,将指定的消息输出到日志并注册一个错误。 Manually causes a warning that outputs the specified message to the log and registers an error.