当前位置:网站首页>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路径下
边栏推荐
- scipy. misc. imread()
- OpenGL - Lighting
- Alibaba's ten-year test brings you into the world of APP testing
- Codeworks round 681 (Div. 2) supplement
- RT thread kernel quick start, kernel implementation and application development learning with notes
- [reading notes] Figure comparative learning gnn+cl
- Svgo v3.9.0+
- uni-app 实现全局变量
- Codeworks round 638 (Div. 2) cute new problem solution
- 利用请求头开发多端应用
猜你喜欢
Introduction Guide to stereo vision (3): Zhang calibration method of camera calibration [ultra detailed and worthy of collection]
项目实战 | Excel导出功能
Android 隐私沙盒开发者预览版 3: 隐私安全和个性化体验全都要
一题多解,ASP.NET Core应用启动初始化的N种方案[上篇]
Introduction Guide to stereo vision (6): level constraints and polar correction of fusiello method
VS Code问题:长行的长度可通过 “editor.maxTokenizationLineLength“ 进行配置
Kotlin introductory notes (II) a brief introduction to kotlin functions
A detailed explanation of the general process and the latest research trends of map comparative learning (gnn+cl)
一篇文章带你走进cookie,session,Token的世界
OpenGL - Coordinate Systems
随机推荐
驾驶证体检医院(114---2 挂对应的医院司机体检)
Can't find the activitymainbinding class? The pit I stepped on when I just learned databinding
Multiple solutions to one problem, asp Net core application startup initialization n schemes [Part 1]
信息與熵,你想知道的都在這裏了
Summary and Reflection on issues related to seq2seq, attention and transformer in hands-on deep learning
Transfer learning and domain adaptation
AUTOSAR from getting started to mastering 100 lectures (103) -dbc file format and creation details
项目实战 | Excel导出功能
Information and entropy, all you want to know is here
Hi Fun Summer, play SQL planner with starrocks!
阿里十年测试带你走进APP测试的世界
c语言指针深入理解
Codeworks round 638 (Div. 2) cute new problem solution
一文详解图对比学习(GNN+CL)的一般流程和最新研究趋势
Rebuild my 3D world [open source] [serialization-1]
Alibaba's ten-year test brings you into the world of APP testing
The research trend of map based comparative learning (gnn+cl) in the top paper
Nodejs modularization
C语言-从键盘输入数组二维数组a,将a中3×5矩阵中第3列的元素左移到第0列,第3列以后的每列元素行依次左移,原来左边的各列依次绕到右边
Introduction Guide to stereo vision (3): Zhang calibration method of camera calibration [ultra detailed and worthy of collection]