Class GLDebug
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Class that contains methods useful for debugging. All methods are only compiled if the DEBUG symbol is defined.
public static class GLDebug
- Inheritance
-
GLDebug
- Inherited Members
Methods
- Assert(bool, string, Object)
Checks whether the condition is true, and logs an error message if it is not (only in DEBUG builds).
- Log(object, Object)
Logs a message to the Unity console (only in DEBUG builds).
- Log(string, object, Object)
Logs a prefixed message to the Unity console (only in DEBUG builds).
- LogError(object, Object)
Logs an error message to the Unity console (only in DEBUG builds).
- LogError(string, object, Object)
Logs a prefixed error message to the Unity console (only in DEBUG builds).
- LogWarning(object, Object)
Logs a warning message to the Unity console (only in DEBUG builds).
- LogWarning(string, object, Object)
Logs a prefixed warning message to the Unity console (only in DEBUG builds).