Tool Settings
NOA Debugger provides a method to change the tool settings.
You can make the following settings:
- Set whether to automatically initialize the tool
- Change the display settings of NOA Debugger
- Change the font asset in use
- Change the display order and visibility of the menu
- Add/remove custom menus
- Change the number of logs retained
- Change the number of display levels of Object details in Hierarchy
- Set the display format of debug command
Tool setting changes are made using the NOA Debugger Editor. The NOA Debugger Editor can be launched by selecting Window -> NOA Debugger
in the Unity menu.
Various settings can be changed in the [Settings] tab in EditorWindow. Setting changes are immediately reflected in the setting file.
Common Functions
[Reset] Button
In some functions, you can reset the settings to the default values specified by NOA Debugger by pressing the [Reset] button.
Set Whether to Automatically Initialize the Tool
Sets whether to automatically initialize the tool.
By operating the checkbox, you can change whether to initialize automatically.
Note: If the box is unchecked, the initialization will not be performed.
If you do not automatically initialize, please initialize using the API.
Please refer to this document for the API.
Change the Display Settings of NOA Debugger
You can change the settings related to the display of NOA Debugger.
Item | Description |
---|---|
Start button opacity | Set the transparency of the button to launch NOA Debugger in the range of 0.1 to 0.9. |
Background opacity | Set the transparency of the NOA Debugger background in the range of 0.1 to 1. |
Floating window opacity | Set the transparency of the floating window in the range of 0.1 to 1. The recommended transparency value is 0.2 to 0.7. |
Canvas sort order | Specify the SortOrder of the NOA Debugger Canvas. |
Portrait UI reverse | You can reverse the display order of the NOA Debugger's UI elements when displayed in portrait orientation. If this setting is enabled, some UI elements are arranged in reverse order from the bottom to the top of the screen, allowing for easier access from the bottom of the screen. This setting is designed to enhance usability on mobile devices. |
Change the Font Asset in Use
You can set the font asset to be used by the tool.
Item | Description |
---|---|
Font asset | Specify the font asset to be used by the tool. |
Material preset | Specify the material to be used. |
Font size rate | Specify the font size multiplier. |
If a font asset is specified, the font asset included with NOA Debugger is excluded at build time.
If the character size changes due to the font asset and the layout is disrupted, please adjust the value of "Font size rate".
Change the Display Order and Visibility of the Menu
You can set the order and display of the menu to be shown after the tool is launched.
By manipulating the drag handle on the left of the menu element, you can change the display order of the menu.
Note: Elements are displayed in the order from the top. The first element is the menu to display first when the tool is launched.
By operating the checkbox on the menu element, you can change the display/hide of the menu.
Note: If it is not checked, it is hidden.
Add/Remove Custom Menus
For more details on the custom menu, please refer to Adding Custom Menus.
Custom menus are added using the following steps:
- Press the [+] button to add a list.
- In the Script field, set the class you created by inheriting
NoaCustomMenuBase
.
By manipulating the drag handle on the left of the menu element, you can change the display order of the menu.
Note: Elements are displayed in the order from the top. The first element is the menu to display first when displaying the custom menu.
To remove the added menu, you can follow these steps:
- Select the menu you want to delete.
- Confirm that the selected list is highlighted, and press the [-] button.
Change the Number of Logs Retained
You can change the number of logs to keep by dragging the slider left or right or by directly entering a number in the input field.
Item | Description |
---|---|
Console log count | Specify the number of logs to be retained in ConsoleLog in the range of 99 to 999. Note: The logs to be retained are for each log type. |
API log count | Specify the number of logs to be retained in APILog in the range of 99 to 999. Note: The logs to be retained are for each log type. |
Change the Number of Display Levels of Object Details in Hierarchy
You can change the number of display levels of Object details by dragging the slider left or right or by directly entering a number in the input field.
Item | Description |
---|---|
Hierarchy levels | Specify the number of levels to display in the range of 1 to 10. Please note that the deeper the levels, the more processing load will occur during the search. |
Set the display format of debug command
You can setting the display format of debug command for each screen orientation.
Item | Description |
---|---|
Landscape format | Specify the display format for landscape orientation. |
Portrait format | Specify the display format for portrait orientation. |
Format | Description |
---|---|
Panel | This is a format that displays commands based on screen width and the length of values and names used in commands. |
List | This is a format that displays commands vertically. |
Other Settings
You can change some other settings of NOA Debugger.
Item | Description |
---|---|
Auto create EventSystem | Specify whether to automatically create an EventSystem if it does not exist at runtime. Turning off this option will not automatically create an EventSystem. If EventSystem does not exist, NOA Debugger's UI will not work. |
Error notification | Specify whether to display error notifications on the launch button. If you turn off this option, error notifications will not be displayed on the launch button. |