# name

> Name of the property (Read Only).

## Definition

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

```csharp
public string name { get; }
```

### Remarks

This is the variable name that is used in the shader, for example \_MainTex.

Additional Resources: [MaterialProperty.displayName](/engine/6000.0/script-reference/unityeditor/materialproperty/displayname.md).
