DevTools is a collection of practical utility packages for Unity development designed to streamline common workflows, reduce boilerplate code, and improve code readability. These tools are battle-tested and production-ready for both 2D and 3D Unity projects.
A comprehensive collection of C# extension methods for Unity that make common operations more intuitive and reduce repetitive code patterns. This package includes:
Key Features:
- Random Extensions - Fluent syntax for random number generation and probability checks
- Layer Extensions - Simplified layer mask operations without bitwise operators
- Transform Extensions - Quick transform reset and manipulation methods
- Collection Extensions - Safe random element retrieval from collections and native validation methods
- Vector Extensions - Fast modification for Vector3/Vector2 on the fly
- Color Extensions - Fast modification for Color on the fly
- GameObject Extensions - Safe component allocation and recursive layer propagation
- Math Extensions - Game-math helpers such as value remapping from one range to another
- UI Extensions - One-line boilerplate reduction for managing UI panels via
CanvasGroup
Benefits:
- Reduces boilerplate code
- Improves code readability with fluent, intuitive syntax
- 100% compatible with all Unity versions (2018.4+)
- Zero dependencies, minimal performance overhead
📖 Full documentation and examples
- Open Package Manager
- Set Add package from git URL...
- Insert link:
https://github.com/Priboy313/Custom-Unity-DevTools.git?path=Assets/_ExternalAssets/DevTools
- Tap Add and Unity automaticly download and setup DevTool into project Packages
- Open the root folder of your Unity project.
- Go to the Packages/ folder and open the manifest.json file with any text editor.
- Add the following line to the "dependencies" block:
"com.priboy313.custom-unity-devtools": "https://github.com/Priboy313/Custom-Unity-DevTools.git?path=Assets/_ExternalAssets/DevTools"
- Save the file. Unity will automatically update dependencies and download the stable package.
- Download the latest release
- Extract to your project's
Assets/folder (Recommended:Assets/_ExternalAssets/DevTools/)