# I SkillNode UI

## 🎯 ISkillNodeUI Interface

Interface for a Skill Web runtime skill node.

> Namespace: `Esper.SkillWeb.UI`\
> Type: `interface`

***

### 🧰 Methods

| Access            | Method                             | Returns | Description                                                                                                         |
| ----------------- | ---------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------- |
| `public abstract` | `SetSkill(SkillNode, WebViewUGUI)` | `void`  | Sets the skill node that this object represents.                                                                    |
| `public abstract` | `ResetLevel()`                     | `void`  | Resets the skill level to 0.                                                                                        |
| `public abstract` | `Refresh()`                        | `void`  | Refreshes this UI object.                                                                                           |
| `public abstract` | `TryUpgrade()`                     | `bool`  | Increases the level by 1 if possible. The skill must be unlocked and the level cannot be higher than the max level. |
| `public abstract` | `TryDowngrade()`                   | `bool`  | Decreases the level by 1 if possible. The level cannot be lower than 0.                                             |
