Welcome to the Unity Utility Library, a growing collection of handy extension methods, helpers, attributes, and other utilities designed to enhance and simplify your Unity development workflow. Whether you're a seasoned developer or just starting, this library aims to provide tools that will help streamline your coding process and add efficiency to your projects.
- Extension Methods: Extend Unity and C# built-in types with additional functionalities.
- Conversion Extension Methods: Convert Vectors and Quaternions between System.Numerics and UnityEngine.
- Hotkeys: Lock Inspector, Close Tab, Compile Project and more.
- Helpers: Static helper methods such as NonAlloc WaitForSeconds.
- Vector Math: Vector math utilities such as RotateVectorOntoPlane.
- Singletons: Generic Singletons for various use cases.
- Allocation Counter: Track memory allocations in your code.
The fork of this package is designed to be used with Unity 6 and the Universal Rendering Pipeline (to create an empty URP project, in the Unity Hub simply follow: "Create Project" -> "Universal 3D" [+ Create Project], you can also add the package manually from the Unity Package Manager).
/!\ This fork
Simply download the library into your Unity project and access the utilities across your scripts or import it in Unity with package manager using this URL:
https://github.com/HadrienBoyer/Unity-Utils-Unity6.git
Add the following line to the dependencies section of your project's manifest.json file.
"com.hadrienboyer.unityutils": "https://github.com/HadrienBoyer/Unity-Utils-Unity6.git"
You can also check out our YouTube channel for more Unity content.
