Query for Unity is a small, lightweight C# library designed to increase productivity with Unity3D. It features a lot of small, general, versatile and helpful utility and extension methods for each and every project.
Ready for Unity 5.6.
Features:
- Hierarchy queries (e.g. GetChildren, GetDescendants, OnLayer, IsAncestor, GetRoot, ...)
- Hierarchy manipulation (e.g. DestroyChildren)
- Component-wise vector swizzling (e.g. v.XZ)
- Changing single vector or color components while preserving immutability
- Picking (e.g. object at mouse position)
- Collection extensions (e.g. ContainsAll, GetValueOrDefault, IsNullOrEmpty, SequenceToString)
- Logs with timestamps and object names
Includes a PDF cheat sheet.
The full source code of Query for Unity is available at GitHub.
We are always open for contributions. Feel free to post any suggestions in the Unity forums!
If you need any help or experience any issues, please join the discussion at the Unity forums or contact us immediately.
Please note this library is not officially related to Unity Technologies in any way.