# ToString()

> Generates a nicely formatted version of the id.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.XR](/engine/6000.0/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

```csharp
public override string ToString()
```

### Returns

| Type                                                           | Description                |
| -------------------------------------------------------------- | -------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A string unique to this id |
