Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/comradevanti/unityoptextensions

Unity extensions and utilities for Opt
https://github.com/comradevanti/unityoptextensions

functional optional package unity utility

Last synced: about 2 months ago
JSON representation

Unity extensions and utilities for Opt

Awesome Lists containing this project

README

        

# Unity Opt extensions

[![openupm](https://img.shields.io/npm/v/dev.comradevanti.opt-unity?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/dev.comradevanti.opt-unity/)

Unity-extensions and utilities
for [Opt](https://www.nuget.org/packages/ComradeVanti.CSharpTools.Opt/2.3.0)

Found any issues? Post
them [here](https://github.com/ComradeVanti/UnityOptExtensions/issues/new/choose).

Want to see the Changelog? Its [here](./CHANGELOG.md).

**⚠️ Development is paused ⚠️**
No new features will be added or bugs fixed unless requested through an issue.
If you wish to fork this repository and continue the work, you are very welcome
to do so.

## Features

Additionally to all features included in the `Opt` package you will also have
access to extensions and utilities which allow you to better deal with
missing values in Unity, such as by using `TryGetComponent` instead
of `GetComponent`.

All features are listed [here](./Documentation~/Features.md).

If you have ideas for
more, [let me know](https://github.com/ComradeVanti/UnityOptExtensions/issues/new?assignees=&labels=enhancement&template=unity-api-suggestion--.md&title=)
.

## Installation

The quickest way is to install via [OpenUPM](https://openupm.com)
using `openupm add dev.comradevanti.opt-unity`.

Or install manually
as [git dependency](https://docs.unity3d.com/Manual/upm-ui-giturl.html)
from `https://github.com/ComradeVanti/UnityOptExtensions.git` or download as zip
and [import locally](https://docs.unity3d.com/Manual/upm-ui-local.html). If you
decide to install manually, make sure your project includes the
following [scoped registry](https://docs.unity3d.com/Manual/upm-scoped.html):

```json
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"com.openupm",
"dev.comradevanti.opt-unity",
"dev.comradevanti.rect-constraints",
"org.nuget.comradevanti.csharptools.opt"
]
}
```