Skip to content

HadrienBoyer/Unity-Utils-Unity6

 
 

Repository files navigation

Unity Utility Library

image

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.

Features

  • 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.

Dependencies

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 ⚠️ not provide the LoadVolumeProfile() extension.

How to Use

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

With Git URL

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"

YouTube

You can also check out our YouTube channel for more Unity content.

About

Extension Methods and Utils for Unity Game Dev (URP version). A fork of @adammyhre's repo, this one contains more of my personal stuffs & will follow my habits, more tailored for my workflow and fav code architectures, patterns & plugins (ODIN Inspector + Scriptable Objects + DOTween). Will try to make it work for both ODIN & DOTween free versions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 100.0%