Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zigurous/unity-math-utils

🗜️📐 Extensions and utilities for working with numbers in Unity projects.
https://github.com/zigurous/unity-math-utils

assets math package unity

Last synced: about 2 months ago
JSON representation

🗜️📐 Extensions and utilities for working with numbers in Unity projects.

Awesome Lists containing this project

README

        

# Math Utils

[![](https://img.shields.io/badge/github-repo-blue?logo=github)](https://github.com/zigurous/unity-math-utils) [![](https://img.shields.io/github/package-json/v/zigurous/unity-math-utils)](https://github.com/zigurous/unity-math-utils/releases) [![](https://img.shields.io/badge/docs-link-success)](https://docs.zigurous.com/com.zigurous.math) [![](https://img.shields.io/github/license/zigurous/unity-math-utils)](https://github.com/zigurous/unity-math-utils/blob/main/LICENSE.md)

The **Math Utils** package provides extensions and utilities for working with numbers in Unity projects including processing inputs, generating random numbers, and much more.

## Reference

- [Input Processors](https://docs.zigurous.com/com.zigurous.math/manual/processors)
- [Random Numbers](https://docs.zigurous.com/com.zigurous.math/manual/random)
- [Number Abbreviations](https://docs.zigurous.com/com.zigurous.math/manual/abbreviations)
- [Extension Methods](https://docs.zigurous.com/com.zigurous.math/manual/extensions)

## Installation

Use the Unity [Package Manager](https://docs.unity3d.com/Manual/upm-ui.html) to install the **Math Utils** package.

1. Open the Package Manager in `Window > Package Manager`
2. Click the add (`+`) button in the status bar
3. Select `Add package from git URL` from the add menu
4. Enter the following Git URL in the text box and click Add:

```
https://github.com/zigurous/unity-math-utils.git
```

## Namespace

Import the package namespace in each script or file you want to use it. You may need to regenerate project files/assemblies first.

```csharp
using Zigurous.Math;
```