文档

Unity Engine

Unity Engine

Utils

A utility class that you can use for diagnostic purposes.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static class Utils

Static Methods

Method

Description

ForceCrashManually causes an application crash in the specified category.
NativeAssertManually causes an assert that outputs the specified message to the log and registers an error.
NativeErrorManually causes a native error that outputs the specified message to the log and registers an error.
NativeWarningManually causes a warning that outputs the specified message to the log and registers an error.
ValidateHeapScans the managed heap to check for corrupted objects.