# GetUniqueName()

> Gets the unique name of the element.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Android.Gradle](/engine/6000.7/script-reference/unity/android/gradle.md)
* **Assembly:** Unity.Android.Gradle

```csharp
public abstract string GetUniqueName()
```

### Returns

| Type                                                           | Description                                                                                            |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The name and element ID when the block has a name. Otherwise, returns the element type and element ID. |
