MGe Utils – C# Utilities & Extensions for Unity
A lightweight collection of modular C# utilities and extensions designed to streamline Unity development.
These tools help you prototype faster, write cleaner code, and reduce boilerplate.
Full documentation is available online: MGe Utils Docs
Features 🌀
This package includes a wide range of utility scripts and extensions:
Extension Methods
Handy extensions for debugging, list management, and common tasks that help reduce repetitive code.Singletons, Pooling & Caching
Simple implementations of singletons, object pooling and a caching solution for references and other data.Logger & File Management
Ready-to-use tools for file logging and a file management.State Machine & Event System
A lightweight state machine implementation and a flexible event system to manage all kinds of events.Editor Tools
Useful utilities like batch texture resizing and a custom editor drawer to simplify inspector creation.- And much more!
Installation
Option 1: Unity Package Manager (UPM)
Open the Package Manager, click the "+" icon, select Add package from git URL..., and enter:
https://github.com/m-gebhard/mge-utils.git
Option 2: Unity Package
Download the latest release from the repository and import the Unity Package directly into your project.
Compatibility
Supports Unity 2022.3 and newer.
Contributing
Contributions and feedback are welcome! Please open issues or submit pull requests on the GitHub repository.
License
This project is licensed under the MIT License.
Disclaimer
MGeUtils is an independent library and is not affiliated with Unity Technologies or endorsed by Unity in any way.