# @umm/unirx_observabletween

> Provide UniRx wrapper for Tween

Latest version **1.1.2** (published 2018-01-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @umm/unirx_observabletween
pnpm add @umm/unirx_observabletween
yarn add @umm/unirx_observabletween
bun add @umm/unirx_observabletween
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2018-01-24 |
| First published | 2017-12-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 2 |
| Author | Tetsuya Mori |
| Maintainers | kidsstar_system, takyama, risacankidsstar, mkaya, hanage, fakestarbaby, monry |

## Links

- npm: https://www.npmjs.com/package/@umm/unirx_observabletween
- Repository: https://github.com/umm-projects/unirx_observabletween
- Issues: https://github.com/umm-projects/unirx_observabletween/issues
- npm.io page: https://npm.io/package/@umm/unirx_observabletween

## Dependencies (5)

- [ncp](https://npm.io/package/ncp.md) ^2.0.0
- [glob](https://npm.io/package/glob.md) ^7.1.2
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [rimraf](https://npm.io/package/rimraf.md) ^2.6.1
- [@umm/unirx](https://npm.io/package/@umm/unirx.md) ^1.0.3

## Recent versions

- 1.1.2 (latest) — 2018-01-24
- 1.1.1 — 2018-01-24
- 1.1.0 — 2018-01-24
- 1.0.0 — 2017-12-13

## README

# What

* UniRx のインタフェースに則って Tween 処理を行うためのライブラリ

# Requirement

* Unity 2017.x

# Install

```shell
$ npm install github:umm-projects/unirx_observabletween
```

# Usage

* 基本のメソッドインタフェースは `Tween<T>(T start, T finish, float duration, EaseType easeType, LoopType loopType)`
  * `T` は `int`, `float`, `Vector2`, `Vector3` の値を取る
* 実装済の `EaseType` は以下の通り
  * Linear
  * InQuadratic
  * OutQuadratic
  * InOutQuadratic
  * InCubic
  * OutCubic
  * InOutCubic
  * InQuartic
  * OutQuartic
  * InOutQuartic
  * InQuintic
  * OutQuintic
  * InOutQuintic
  * InSinusoidal
  * OutSinusoidal
  * InOutSinusoidal
  * InExponential
  * OutExponential
  * InOutExponential
  * InCircular
  * OutCircular
  * InOutCircular
  * InBack
  * OutBack
  * InOutBack
  * InBounce
  * OutBounce
  * InOutBounce
  * InElastic
  * OutElastic
  * InOutElastic
* 実装済の `LoopType` は以下の通り
  * None: ループなし
  * Repeat: 同じ Easing を繰り返す
  * PingPong: 同じ Easing を start/finish を入れ替えて繰り返す
  * Mirror: 行きの Easing に対応する帰りの Easing を繰り返す
* 停止する場合は `Tween` メソッドが返すストリームに対する購読を `Dispose()` する

# License

Copyright (c) 2017 Tetsuya Mori

Released under the MIT license, see [LICENSE.txt](LICENSE.txt)

---
_Source: https://npm.io/package/@umm/unirx_observabletween · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
