Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,18 @@ If multiple `GameObjects` matching the condition are found, throw `MultipleGameO
Multiple GameObjects matching the condition (name=Button) were found.
```

#### Debug Visualizer

Using the Debug Visualizer can help you investigate why a `GameObject` cannot be found.
`DefaultDebugVisualizer` shows visual indicators when "not reachable" or "not interactable" occurs.

To use it, simply pass an instance to the `GameObjectFinder` constructor, like this:

```csharp
var visualizer = new DefaultDebugVisualizer();
var finder = new GameObjectFinder(visualizer: _visualizer);
```



### Monkey
Expand Down Expand Up @@ -699,6 +711,21 @@ If this condition persists, a `TimeoutException` will be thrown.
Lottery entries are empty or all of not reachable.
```

#### Debug Visualizer

Using the Debug Visualizer can help you investigate why a `GameObject` cannot be operated on.
`DefaultDebugVisualizer` shows visual indicators when "not reachable" or "ignored" occurs.

To use it, simply set an instance to the `MonkeyConfig.Visualizer`, like this:

```csharp
var config = new MonkeyConfig()
{
Visualizer = new DefaultDebugVisualizer(),
};
await Monkey.Run(config);
```



## Installation
Expand Down
3 changes: 3 additions & 0 deletions Resources.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Resources/Packages.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Resources/Packages/com.nowsprinting.test-helper.ui.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
130 changes: 130 additions & 0 deletions Resources/Packages/com.nowsprinting.test-helper.ui/eye.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading