class in UnityEngine
Class containing methods to ease debugging while developing a game.
当开发一个游戏时,类中的方法方便调试。
developerConsoleVisible | Opens or closes developer console. 打开或关闭调试控制台。 |
isDebugBuild | In the Build Settings dialog there is a check box called “Development Build”. 在Build Settings对话框中有一个叫做“Development Build”复选框。 |
logger | Get default debug logger. 获取默认的调试日志。 |
Assert | Assert a condition and logs a formatted error message to the Unity console on failure. 断言一个条件,当条件为false时输出格式化的错误信息到unity控制台。 |
AssertFormat | Assert a condition and logs a formatted error message to the Unity console on failure. 断言一个条件,当条件为false时输出格式化的错误信息到unity控制台。 |
Break | Pauses the editor. 暂停编辑器。 |
ClearDeveloperConsole | Clears errors from the developer console. 清除开发人员控制台的错误。 |
DrawLine | Draws a line between specified start and end points. 在指定的起点与终点之间画条线。 |
DrawRay | Draws a line from start to start + dir in world coordinates. 在世界空间中画条射线,从起点开始向指向的方向延伸。 |
Log | Logs message to the Unity Console. unity控制台的日志信息。 |
LogAssertion | A variant of Debug.Log that logs an assertion message to the console. 不同的Debug.Log将断言信息记录到控制台。 |
LogAssertionFormat | Logs a formatted assertion message to the Unity console. 记录了unity控制器的断言格式信息。 |
LogError | A variant of Debug.Log that logs an error message to the console. Debug.Log的一个变体,记录了控制台的错误信息。 |
LogErrorFormat | Logs a formatted error message to the Unity console. unity控制器记录的断言格式信息。 |
LogException | A variant of Debug.Log that logs an error message from an exception to the console. Debug.Log 的一个变体,记录了控制台的错误信息。 |
LogFormat | Logs a formatted message to the Unity Console. 记录unity控制台的信息格式。 |
LogWarning | A variant of Debug.Log that logs a warning message to the console. Debug.Log的一个变体,记录了控制台的警告信息。 |
LogWarningFormat | Logs a formatted warning message to the Unity Console. unity控制台记录的警告信息的格式。 |