Editar

Partilhar via


DebugUtilities Class

Definition

public ref class DebugUtilities abstract sealed
public static class DebugUtilities
type DebugUtilities = class
Public Class DebugUtilities
Inheritance
DebugUtilities

Fields

LogLevel

This helper defaults to showing all messages of information and above (i.e. including warnings and errors)

Methods

DebugAssert(Boolean, String)

Asserts a condition.

DebugAssert(Boolean)

Asserts a condition.

DebugLog(String)
Obsolete.

Logs a message.

DebugLogError(String)
Obsolete.

Logs an error message.

DebugLogWarning(String)
Obsolete.

Logs a warning message.

DrawBounds(Bounds, Color, Color)

Draws the minimum and maximum points of the given bounds

DrawPoint(Vector3, Color, Single)

Draws a point in the Scene window.

DrawPoint(Vector3, Quaternion, Color, Single)

Draws a point with a rotation in the Scene window.

Log(String)

Logs a message at the informational level.

LogError(String)

Logs an error message.

LogVerbose(String)

Logs the given message to the Unity console and player log if verbose logging is enabled.

LogVerboseFormat(String, Object[])

Formats and logs the given message to the Unity console and player log if verbose logging is enabled. Note that verbose logs do not include the callstack

LogWarning(String)

Logs a warning message.

Applies to