# UI Library

Reusable UI components.

## Components

### ToggleButton

A single-script toggle button with distinct "On" and "Off" visual states.

#### Properties
- **onObject**: GameObject active when state is ON.
- **offObject**: GameObject active when state is OFF.
- **button**: The Unity UI Button component for interaction.
- **isOn**: Current state (can be set from Inspector).

#### Events
- **OnValueChanged**: Action<bool> fired when the state changes.

#### Usage Example

```csharp
// Inside a parent presenter
view.MyToggle.OnValueChanged += (isOn) => {
    Debug.Log($"Toggle is {isOn}");
};
```
