---
title: matchAll
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/searchservice/objectselectorhandlerwithlabelsattribute/matchall
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/searchservice/objectselectorhandlerwithlabelsattribute/matchall.md
last_updated: 2026-10-07
generated_at: 2026-11-11T01:47:15.210Z
locale: en-us
---

# matchAll

> Boolean that indicates whether all labels, or only one of them, should match. Default is true.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.SearchService](/engine/7000.0/script-reference/unityengine/searchservice.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Removed.** ObjectSelectorHandlerWithLabelsAttribute has been deprecated. Use SearchContextAttribute instead.

```csharp
public bool matchAll { get; }
```
