Class Debug
Assembly: UnityEngine.dll
Syntax
Properties
developerConsoleVisible
Declaration
public static bool developerConsoleVisible { get; set; }
Property Value
isDebugBuild
Declaration
public static bool isDebugBuild { get; }
Property Value
|
Improve this Doc
View Source
unityLogger
Declaration
public static ILogger unityLogger { get; }
Property Value
Methods
|
Improve this Doc
View Source
Assert(Boolean)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void Assert(bool condition)
Parameters
Type |
Name |
Description |
Boolean |
condition |
|
|
Improve this Doc
View Source
Assert(Boolean, Object)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void Assert(bool condition, object message)
Parameters
|
Improve this Doc
View Source
Assert(Boolean, Object, Object)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void Assert(bool condition, object message, Object context)
Parameters
|
Improve this Doc
View Source
Assert(Boolean, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void Assert(bool condition, string message)
Parameters
|
Improve this Doc
View Source
Assert(Boolean, String, Object)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void Assert(bool condition, string message, Object context)
Parameters
|
Improve this Doc
View Source
Assert(Boolean, Object)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void Assert(bool condition, Object context)
Parameters
|
Improve this Doc
View Source
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void AssertFormat(bool condition, string format, params object[] args)
Parameters
|
Improve this Doc
View Source
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void AssertFormat(bool condition, Object context, string format, params object[] args)
Parameters
Break()
Declaration
public static void Break()
ClearDeveloperConsole()
Declaration
public static void ClearDeveloperConsole()
DebugBreak()
Declaration
public static void DebugBreak()
|
Improve this Doc
View Source
DrawLine(Vector3, Vector3)
Declaration
[ExcludeFromDocs]
public static void DrawLine(Vector3 start, Vector3 end)
Parameters
|
Improve this Doc
View Source
DrawLine(Vector3, Vector3, Color)
Declaration
[ExcludeFromDocs]
public static void DrawLine(Vector3 start, Vector3 end, Color color)
Parameters
|
Improve this Doc
View Source
DrawLine(Vector3, Vector3, Color, Single)
Declaration
[ExcludeFromDocs]
public static void DrawLine(Vector3 start, Vector3 end, Color color, float duration)
Parameters
DrawLine(Vector3, Vector3, Color, Single, Boolean)
Declaration
public static void DrawLine(Vector3 start, Vector3 end, [DefaultValue("Color.white")] Color color, [DefaultValue("0.0f")] float duration, [DefaultValue("true")] bool depthTest)
Parameters
|
Improve this Doc
View Source
DrawRay(Vector3, Vector3)
Declaration
[ExcludeFromDocs]
public static void DrawRay(Vector3 start, Vector3 dir)
Parameters
|
Improve this Doc
View Source
DrawRay(Vector3, Vector3, Color)
Declaration
[ExcludeFromDocs]
public static void DrawRay(Vector3 start, Vector3 dir, Color color)
Parameters
|
Improve this Doc
View Source
DrawRay(Vector3, Vector3, Color, Single)
Declaration
[ExcludeFromDocs]
public static void DrawRay(Vector3 start, Vector3 dir, Color color, float duration)
Parameters
|
Improve this Doc
View Source
DrawRay(Vector3, Vector3, Color, Single, Boolean)
Declaration
public static void DrawRay(Vector3 start, Vector3 dir, [DefaultValue("Color.white")] Color color, [DefaultValue("0.0f")] float duration, [DefaultValue("true")] bool depthTest)
Parameters
|
Improve this Doc
View Source
Log(Object)
Declaration
public static void Log(object message)
Parameters
Type |
Name |
Description |
Object |
message |
|
|
Improve this Doc
View Source
Log(Object, Object)
Declaration
public static void Log(object message, Object context)
Parameters
|
Improve this Doc
View Source
LogAssertion(Object)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void LogAssertion(object message)
Parameters
Type |
Name |
Description |
Object |
message |
|
|
Improve this Doc
View Source
LogAssertion(Object, Object)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void LogAssertion(object message, Object context)
Parameters
|
Improve this Doc
View Source
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void LogAssertionFormat(string format, params object[] args)
Parameters
|
Improve this Doc
View Source
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void LogAssertionFormat(Object context, string format, params object[] args)
Parameters
|
Improve this Doc
View Source
LogError(Object)
Declaration
public static void LogError(object message)
Parameters
Type |
Name |
Description |
Object |
message |
|
|
Improve this Doc
View Source
LogError(Object, Object)
Declaration
public static void LogError(object message, Object context)
Parameters
|
Improve this Doc
View Source
Declaration
public static void LogErrorFormat(string format, params object[] args)
Parameters
|
Improve this Doc
View Source
Declaration
public static void LogErrorFormat(Object context, string format, params object[] args)
Parameters
|
Improve this Doc
View Source
LogException(Exception)
Declaration
public static void LogException(Exception exception)
Parameters
|
Improve this Doc
View Source
LogException(Exception, Object)
Declaration
public static void LogException(Exception exception, Object context)
Parameters
|
Improve this Doc
View Source
Declaration
public static void LogFormat(string format, params object[] args)
Parameters
|
Improve this Doc
View Source
Declaration
public static void LogFormat(Object context, string format, params object[] args)
Parameters
|
Improve this Doc
View Source
LogWarning(Object)
Declaration
public static void LogWarning(object message)
Parameters
Type |
Name |
Description |
Object |
message |
|
|
Improve this Doc
View Source
LogWarning(Object, Object)
Declaration
public static void LogWarning(object message, Object context)
Parameters
|
Improve this Doc
View Source
Declaration
public static void LogWarningFormat(string format, params object[] args)
Parameters
|
Improve this Doc
View Source
Declaration
public static void LogWarningFormat(Object context, string format, params object[] args)
Parameters
Extension Methods