当前位置:网站首页>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 (1): coordinate system and camera parameters
- OpenGL - Model Loading
- Rebuild my 3D world [open source] [serialization-2]
- 什么是防火墙?防火墙基础知识讲解
- Blue Bridge Cup provincial match simulation question 9 (MST)
- Codeforces Round #648 (Div. 2) E.Maximum Subsequence Value
- Creation and reference of applet
- [technical school] spatial accuracy of binocular stereo vision system: accurate quantitative analysis
- Introduction Guide to stereo vision (7): stereo matching
- An article takes you into the world of cookies, sessions, and tokens
猜你喜欢
![[technical school] spatial accuracy of binocular stereo vision system: accurate quantitative analysis](/img/59/823b587566f812c76e0e4dee486674.jpg)
[technical school] spatial accuracy of binocular stereo vision system: accurate quantitative analysis

一文详解图对比学习(GNN+CL)的一般流程和最新研究趋势

Wxss template syntax

Huber Loss

Node collaboration and publishing

图神经网络+对比学习,下一步去哪?

Editor use of VI and VIM

VS Code问题:长行的长度可通过 “editor.maxTokenizationLineLength“ 进行配置

C语言-从键盘输入数组二维数组a,将a中3×5矩阵中第3列的元素左移到第0列,第3列以后的每列元素行依次左移,原来左边的各列依次绕到右边

Applet network data request
随机推荐
C language - input array two-dimensional array a from the keyboard, and put 3 in a × 5. The elements in the third column of the matrix are moved to the left to the 0 column, and the element rows in ea
Alibaba's ten-year test brings you into the world of APP testing
Codeworks round 681 (Div. 2) supplement
C form click event did not respond
测试老鸟浅谈unittest和pytest的区别
Introduction Guide to stereo vision (7): stereo matching
Codeforces round 684 (Div. 2) e - green shopping (line segment tree)
OpenGL - Coordinate Systems
Applet global style configuration window
Nips2021 | new SOTA for node classification beyond graphcl, gnn+ comparative learning
520 diamond Championship 7-4 7-7 solution
Hi Fun Summer, play SQL planner with starrocks!
Uni app implements global variables
Codeforces Round #648 (Div. 2) E.Maximum Subsequence Value
Luo Gu p3177 tree coloring [deeply understand the cycle sequence of knapsack on tree]
Summary and Reflection on issues related to seq2seq, attention and transformer in hands-on deep learning
notepad++
uni-app 实现全局变量
Kotlin introductory notes (VII) data class and singleton class
Transfer learning and domain adaptation