# name

> Sampler name. (Read Only)

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Profiling](/engine/6000.7/script-reference/unityengine/profiling.md)
* **Assembly:** UnityEngine.CoreModule

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

### Remarks

Data generated by the Sampler is labeled with this name in the Profiler window.

**Note:** If Sampler is invalid **name** returns null or empty string.
