# ShouldHideOpenButton()

> Returns the visibility setting of the "open" button in the Inspector.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
protected virtual bool ShouldHideOpenButton()
```

### Returns

| Type                                                          | Description                                 |
| ------------------------------------------------------------- | ------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Return true if the button should be hidden. |
