# HideInInspector

> Do not show the property in the Inspector.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** Use UnityEngine.Rendering.ShaderPropertyFlags instead.
>
> **Upgrade to** [ShaderPropertyFlags](/engine/6000.6/script-reference/unityengine/rendering/shaderpropertyflags.md)

```csharp
HideInInspector = 1
```

### Remarks

[MaterialEditor](/engine/6000.6/script-reference/unityeditor/materialeditor.md) will not show this property. This corresponds to the "\[HideInInspector]" attribute in front of a property in the shader code.
