# Character Viewer Element UGUI

## 👤 CharacterViewerElementUGUI Class

Namespace: `Esper.Inventool.UI.UGUI`\
Access: `public`\
Type: `class`\
Inherits: `MonoBehaviour`

***

### 📦 Fields

| Access   | Field        | Type              | Description           |
| -------- | ------------ | ----------------- | --------------------- |
| `public` | `icon`       | `Image`           | The icon image.       |
| `public` | `label`      | `TextMeshProUGUI` | The label text.       |
| `public` | `button`     | `Button`          | The button component. |
| `public` | `background` | `Image`           | The background image. |

***

### 🧰 Methods

| Access   | Method                           | Returns | Description                     |
| -------- | -------------------------------- | ------- | ------------------------------- |
| `public` | `Set(Sprite icon, string label)` | `void`  | Sets the icon and label text.   |
| `public` | `SetInteractable(bool value)`    | `void`  | Enables or disables the button. |
