Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 048e598

Browse files
authored
Update README.md
1 parent 3b851b6 commit 048e598

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,20 @@ If these fixes do not work, please create an issue in this repo and I'll do my b
9090
</a>
9191
</p>
9292

93+
### Inspector API
94+
95+
If you want to inspect an object or Type from outside the C# console, use the `InspectorManager` class:
96+
97+
**To inspect an object:**
98+
```csharp
99+
UnityExplorer.InspectorManager.Inspect(theObject);
100+
```
101+
102+
**To inspect a Type:**
103+
```cs
104+
UnityExplorer.InspectorManager.Inspect(typeof(SomeClass));
105+
```
106+
93107
### Object Explorer
94108

95109
* Use the <b>Scene Explorer</b> tab to traverse the active scenes, as well as the DontDestroyOnLoad and HideAndDontSave objects.

0 commit comments

Comments
 (0)