https://github.com/joyixir/utility
Utility is a unity package containing Animator, Vector, List etc. extensions and handy functions to help developers.
https://github.com/joyixir/utility
csharp unity unity-extension unity-extensions unity3d unitypackage
Last synced: 9 months ago
JSON representation
Utility is a unity package containing Animator, Vector, List etc. extensions and handy functions to help developers.
- Host: GitHub
- URL: https://github.com/joyixir/utility
- Owner: joyixir
- License: mit
- Created: 2021-08-30T08:50:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-03T13:35:43.000Z (almost 4 years ago)
- Last Synced: 2025-06-20T17:06:11.952Z (9 months ago)
- Topics: csharp, unity, unity-extension, unity-extensions, unity3d, unitypackage
- Language: C#
- Homepage:
- Size: 1.05 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Utility
Utility package containing Animator, Vector, List etc. extensions to help developers
## Features
- Utils static class contains many handy functions and class extentions
## Installation
There are thre ways to use it
### Unitypackage
Go to the releases section and download the .unitypackage file
### PackageManager
##### Scoped Registry
TO add Joyixir scope to NPM scopedregistry, add the following to manifest.json
```json
{
"scopedRegistries": [
{
"name": "npmjs",
"url": "https://registry.npmjs.org/",
"scopes": [
"com.joyixir"
]
}
]
}
```
##### Install the package
Open Window/PackageManager and head to My Registries. Install your desired version of Joyixir/Utility
### Clone the repo
You can just clone the repo and do whatever you like with it. Even to make it better.
# Use
### Utils
Just look around to see if there's any useful extensions for you. There are extensions for AnimationCurve, Vector3, List, Animator, IEnumerable, Collider Bounds, KeyFrame
There are also some handy functions that you can use(Normalizers, etc).
### TimeScaler
Attach TimeScaler to a GameObject
Do
```csharp
TimeScaler.ScaleUnityTime(float: slowDownFactor);
```
To undo any scale factor, do:
```csharp
TimeScaler.SetUnityTimeScalesToNormal();
```
## License
MIT