当前位置:网站首页>Unity SKFramework框架(二十二)、Runtime Console 运行时调试工具
Unity SKFramework框架(二十二)、Runtime Console 运行时调试工具
2022-07-05 09:20:00 【CoderZ1010】
目录
一、简介
Runtime Console工具可以让我们在程序Build打包后运行时,查看Log日志信息,并且可以生成日志文件。该工具已经上传至SKFramework框架中的Package Manager中,如图所示:
SKFramework框架开源地址:
https://github.com/136512892/SKFramework
二、使用说明
1.下载安装
通过菜单SKFramework/PackageManager打开开发工具包管理器:
搜索RuntimeConsole工具,点击Install下载并安装:
2.挂载组件
新建一个空物体,为其添加RuntimeConsole组件:
参数说明:
Show Info | 是否显示普通日志信息 |
Show Warn | 是否显示告警日志信息 |
Show Error | 是否显示错误日志信息 |
Show Time | 是否显示日志打印时间 |
3.快捷键
在程序运行时通过快捷键LeftCtrl+M打开和关闭控制台窗口
ps:如果快捷键有冲突可在代码中更改
private void Update()
{
//快捷键打开/关闭
if (Input.GetKey(KeyCode.LeftControl) && Input.GetKeyDown(KeyCode.M))
{
toggle = !toggle;
}
}
4.日志详情
选中任一项日志,下方窗口中会显示该日志的详细信息:
点击下方Copy按钮可将日志详情复制到系统粘贴板,可使用Ctrl+V粘贴到任意其它地方进行分析。
5.清空日志
点击左上角Clear按钮可以清空当前的所有日志信息:
6.日志文件
点击右上角的FILE按钮,可以生成日志文件到StreamingAssets/Log路径下
边栏推荐
- Introduction Guide to stereo vision (3): Zhang calibration method of camera calibration [ultra detailed and worthy of collection]
- Kotlin introductory notes (III) kotlin program logic control (if, when)
- [code practice] [stereo matching series] Classic ad census: (6) multi step parallax optimization
- VS Code问题:长行的长度可通过 “editor.maxTokenizationLineLength“ 进行配置
- 一篇文章带你走进cookie,session,Token的世界
- Analysis of eventbus source code
- Rebuild my 3D world [open source] [serialization-2]
- 【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
- notepad++
- Kotlin introductory notes (VI) interface and function visibility modifiers
猜你喜欢
Generate confrontation network
Composition of applet code
Multiple solutions to one problem, asp Net core application startup initialization n schemes [Part 1]
Attention is all you need
信息與熵,你想知道的都在這裏了
Information and entropy, all you want to know is here
An article takes you into the world of cookies, sessions, and tokens
Summary and Reflection on issues related to seq2seq, attention and transformer in hands-on deep learning
Progressive JPEG pictures and related
2020 "Lenovo Cup" National College programming online Invitational Competition and the third Shanghai University of technology programming competition
随机推荐
Can't find the activitymainbinding class? The pit I stepped on when I just learned databinding
2309. 兼具大小写的最好英文字母
驾驶证体检医院(114---2 挂对应的医院司机体检)
Introduction Guide to stereo vision (5): dual camera calibration [no more collection, I charge ~]
C form click event did not respond
fs. Path module
Multiple solutions to one problem, asp Net core application startup initialization n schemes [Part 1]
An article takes you into the world of cookies, sessions, and tokens
Kotlin introductory notes (I) kotlin variables and non variables
Explain NN in pytorch in simple terms CrossEntropyLoss
Blue Bridge Cup provincial match simulation question 9 (MST)
Node collaboration and publishing
Applet global style configuration window
OpenGL - Coordinate Systems
Rebuild my 3D world [open source] [serialization-3] [comparison between colmap and openmvg]
OpenGL - Lighting
Introduction Guide to stereo vision (2): key matrix (essential matrix, basic matrix, homography matrix)
uni-app 实现全局变量
np.allclose
Kotlin introductory notes (VI) interface and function visibility modifiers