This asset helps you see debug messages (logs, warnings, errors, exceptions) runtime in a build (also assertions in editor) and execute commands using its built-in console. It also supports logging logcat messages to the console on Android platform.
User interface is created with uGUI and costs 1 SetPass call (and 6 to 10 batches) when Sprite Packing is enabled. It is possible to resize or hide the console window during the game. Once the console is hidden, a small popup will take its place (which can be dragged around). The popup will show the number of logs that arrived since it had appeared. Console window will reappear after clicking the popup.
该库主要服务于 https://github.com/AlianBlank/GameFrameX 作为子库使用。
-
直接在
manifest.json文件中添加以下内容{"com.gameframex.unity.yasirkula.debugconsole": "https://github.com/AlianBlank/com.gameframex.unity.yasirkula.debugconsole.git"} -
在Unity 的
Packages Manager中使用Git URL的方式添加库,地址为:https://github.com/AlianBlank/com.gameframex.unity.yasirkula.debugconsole.git -
直接下载仓库放置到Unity 项目的
Packages目录下。会自动加载识别
- 增加
Packages的支持
https://github.com/yasirkula/UnityIngameDebugConsole
= In-game Debug Console (v1.6.7) =
Documentation: https://github.com/yasirkula/UnityIngameDebugConsole FAQ: https://github.com/yasirkula/UnityIngameDebugConsole#faq E-mail: yasirkula@gmail.com
You can simply place the IngameDebugConsole prefab to your scene. Hovering the cursor over its properties in the Inspector will reveal explanatory tooltips.