# FillerUI

## API

```csharp
public Ease ChangeEase = Ease.InOutSine;

public void Init(float fillAmount);

public virtual void Show();
public virtual void Hide();

public virtual void ChangeFill(float fillAmount);
public virtual Tween ChangeFill(float fillAmount, float changeTime = 0f);
public virtual void StopFillChange(bool reachTarget);
```

## How to use

To change fill -> call ChangeFill function.\
If you want to setup bar -> call Init() with fill amount parameter.

<figure><img src="https://1613353771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fygjewtla1W7kzTTIpGWq%2Fuploads%2FVHRs9Gvn9OIzlMXKV3WT%2Fimage.png?alt=media&#x26;token=03719881-0407-43e9-8fc9-809f2589f3e4" alt=""><figcaption><p>How FillerUI looks in the inspector</p></figcaption></figure>

***Filler*** is drop down logic (ImageFiller/SlicedImageFiller/SliderFiller).

Example can be found here:\
**Assets\\\_Examples\Ready Scripts\BarUI and TextValueUpdater.scene**
