Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/setchi/easingcore

🐉 Core Easing Implementation for Unity.
https://github.com/setchi/easingcore

csharp easing easing-functions unity unity3d

Last synced: 16 days ago
JSON representation

🐉 Core Easing Implementation for Unity.

Awesome Lists containing this project

README

        

# EasingCore [![license](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/setchi/Easings/blob/master/LICENSE) [![openupm](https://img.shields.io/npm/v/jp.setchi.easingcore?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/jp.setchi.easingcore/)
Core Easing Implementation for Unity.

## API
```csharp
public static EasingFunction Get(Ease type)
```

## Usage
```csharp
var easeOutCubic = Easing.Get(Ease.OutCubic);
var p = easeOutCubic(0.5f);
```

## Installation
### OpenUPM
Add a package from [OpenUPM](https://openupm.com/) registry to your project.

```
openupm add jp.setchi.easingcore
```

### Unity Package Manager
Add a reference to the repository in the [`Packages\manifest.json`](https://docs.unity3d.com/Packages/[email protected]/manual/index.html#project-manifests) file in your project directory:

```json
{
"dependencies": {
"jp.setchi.easingcore": "https://github.com/setchi/EasingCore.git#upm"
}
}
```

### Manual
Clone or download this repository into the Assets directory of your project.

## Author
[setchi](https://github.com/setchi)

## License
[MIT](https://github.com/setchi/EasingCore/blob/master/LICENSE)