当前位置:网站首页>Unity skframework framework (XXII), runtime console runtime debugging tool

Unity skframework framework (XXII), runtime console runtime debugging tool

2022-07-05 09:24:00 CoderZ1010

Catalog

One 、 brief introduction

Two 、 Instructions

1. Download and install

2. Mount components

3. Shortcut key

4. Log details

5. Clear the log

6. Log files


One 、 brief introduction

 

Runtime Console Tools allow us to program Build Run time after packaging , see Log Log information , And can generate log files . The tool has been uploaded to SKFramework In the framework Package Manager in , As shown in the figure :

SKFramework Framework open source address :

https://github.com/136512892/SKFramework

Two 、 Instructions

1. Download and install

Through the menu SKFramework/PackageManager Open the development kit manager :

Search for RuntimeConsole Tools , Click on Install Download and install :

2. Mount components

Create a new empty object , To add RuntimeConsole Components :

Parameter description : 

Show Info Whether to display general log information
Show Warn Whether to display alarm log information
Show Error Whether to display error log information
Show Time Whether to display the log printing time

3. Shortcut key

When the program is running, use the shortcut key LeftCtrl+M Open and close the console window

ps: If the shortcut key conflicts, you can change it in the code

private void Update()
{
    // The shortcut key opens / close 
    if (Input.GetKey(KeyCode.LeftControl) && Input.GetKeyDown(KeyCode.M))
    {
        toggle = !toggle;
    }
}

4. Log details

Select any log , The details of the log will be displayed in the window below :

Click below Copy Button to copy the log details to the system pasteboard , You can use Ctrl+V Paste it anywhere else for analysis .

5. Clear the log

Click on the top left corner Clear Button can clear all current log information :

6. Log files

Click on the FILE Button , You can generate log files to StreamingAssets/Log Under the path

原网站

版权声明
本文为[CoderZ1010]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/186/202207050920537178.html