# DevTool Settings

Global settings of DevTool stored in Project Setting, `Infinite Dawn -> DevTool` section.

## Main Settings

Deep Search: Deep searching Objects, including inactive objects and ScriptableObjects. Required more time and memory.

Inactive Objects: Enable inactive objects during the search.

Show Instance ID: Use this to differentiate objects in the scene with the same names.

![](https://4085687494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeXPMJ4ODmHlL5WRTdS1F%2Fuploads%2F14AV8xrFnL5i2ONHe4rO%2Fimage.png?alt=media\&token=ef3a9f35-7002-482e-8008-04a456fb0e22)

## Workspaces

Workspaces allow you to scan you project assemblies. To create new workspace click on **`+`** button, to remove **`-`** button.

![DevTool workspaces](https://4085687494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeXPMJ4ODmHlL5WRTdS1F%2Fuploads%2FfjfKHVNr9WyeNa4ZkSRp%2Fimage.png?alt=media\&token=f08c6561-a954-4908-9846-a7544e3251ab)

### Setup Workspace

![Assemply-CSharp workspace](https://4085687494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeXPMJ4ODmHlL5WRTdS1F%2Fuploads%2FUhdJszfAZZzW61Ql0amS%2Fimage.png?alt=media\&token=87651859-f18e-4b06-a7cf-7cca66a595a1)

First of all you need to write assembly name in _Assembly_ field.&#x20;

{% hint style="info" %}
**Assemply-CSharp** it's default assembly name where are Unity stored your classes, if not create custom assemblies for them.
{% endhint %}

In the _Type_ field write the type name which you want to scan.

{% hint style="info" %}
If you want to scan all type in specified assembly use **\*** character.&#x20;
{% endhint %}

_Member Type_ and _Binding Flags_ allow you filter types of member which will be scanned from specified _Type_.

You can add custom relative path and order for all scanned members from this assembly.

Toggle _IsActive_ to enable or disable this assembly from scanning engine.

## Templates

Templates of commands is description for DevTool engine, how it should draw finded commands with specified arguments/types.

{% hint style="info" %}
By default in package added ready made templates for most common command types. For instance, _Command Template Int_ can draw all fields, properties with type Int and methods with argument Int.
{% endhint %}

![](https://4085687494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeXPMJ4ODmHlL5WRTdS1F%2Fuploads%2FA3ymPWV8ZspTIx1CSWth%2Fimage.png?alt=media\&token=8a536d45-3f9c-4d40-9f2e-8ff109eebacb)

### Create Template

Open DevTool Canvas prefab and find _Content_ child.

![DevTool Canvas prefab mode](https://4085687494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeXPMJ4ODmHlL5WRTdS1F%2Fuploads%2FLmMcqZQBH5K3JM3L8QA0%2Fimage.png?alt=media\&token=9615a8d8-5d5a-4b46-85c8-a6c42194137e)

{% content-ref url="devtool-canvas" %}
[devtool-canvas](devtool-canvas)
{% endcontent-ref %}

Create new empty gameobject, name it _Int Command_ and setup desired size.

![New gameobject - Int Command](https://4085687494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeXPMJ4ODmHlL5WRTdS1F%2Fuploads%2F88BY8inbIRuQT0n1GRW5%2Fimage.png?alt=media\&token=b82e1b2c-0db9-4e94-aba1-68962e939dff)

Add _Command Template Int_ component

![Add Component menu](https://4085687494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeXPMJ4ODmHlL5WRTdS1F%2Fuploads%2FCyhDmalSZVQEi0xMUW2f%2Fimage.png?alt=media\&token=6cbcff03-9360-432d-884f-0ef49d5aae17)

Setup command as you want, change font style, size, color and etc. Create _Input Field_ as child and add it in _Command Template Int_ component. After that you can create prefab of your new command and add it Template list.&#x20;

![Setup Command Template Int](https://4085687494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeXPMJ4ODmHlL5WRTdS1F%2Fuploads%2FbiGV8WzIZ9CGyYybElyK%2Fimage.png?alt=media\&token=f4b37208-2cbe-435b-ba63-0e842ab881b6)
