Debug
Contains helper functions that help you debug your code. Please note that for performance reasons, drawing rays and lines is only supported when launching the game in test mode.
Static members
Member |
Description |
---|---|
|
Returns true if the game has been launched from the Unity Editor via the -testcontentmod parameter. |
Static methods
Method |
Description |
---|---|
|
Details
-
class Debug
-
static const bool isTestMode
Returns true if the game has been launched from the Unity Editor via the -testcontentmod parameter.
-
static void DrawLine(Vector3 from, Vector3 to, Color color, float duration, Matrix4x4 localToWorldMatrix)
-
static const bool isTestMode