# AttributeUnit

> An attribute that represents an integer value with Unit type.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Android.Gradle.Manifest](/engine/6000.5/script-reference/unity/android/gradle/manifest.md)
* **Assembly:** Unity.Android.Gradle
* **Inherits from:** [BaseAttribute](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseattribute.md)

```csharp
public sealed class AttributeUnit : BaseAttribute
```

## Methods

| Method                                                                                    | Description                                      |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [Get](/engine/6000.5/script-reference/unity/android/gradle/manifest/attributeunit/get.md) | Gets the value of the `ValueType?` attribute.    |
| [Set](/engine/6000.5/script-reference/unity/android/gradle/manifest/attributeunit/set.md) | Sets a new `ValueType?` value for the attribute. |

## Structs

| Struct                                                                                                              | Description      |
| ------------------------------------------------------------------------------------------------------------------- | ---------------- |
| [AttributeUnit.ValueType](/engine/6000.5/script-reference/unity/android/gradle/manifest/attributeunit/valuetype.md) | Unit value type. |

## Inheritance

**Inherited Members:**

* [BaseAttribute.Remove()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseattribute/remove.md)
* [BaseAttribute.ResolveConflict()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseattribute/resolveconflict.md)
* [BaseAttribute.Name()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseattribute/name.md)
