Publisher | Igor Vasiak |
---|---|
File size | 405.14kB |
Number of files | 58 |
Latest version | 1 |
Latest release date | 2020-10-06 08:14:11 |
First release date | 2020-10-06 08:14:11 |
Supported Unity versions | 2018.4.2 or higher |
I included this asset in the Elery Object Pooler package, which you can find here.
The Nut Library makes it easier to reduce the boilerplate code of your scripts, reducing the number of bugs and improving readability, increasing productivity quickly overall.
It is a library of extensions and utilities directed to various use cases. It has many bits and bobs that tackle and improve minor situations, and many methods that can condense some very long code into two or three lines.
The currently supported types with extensions and utilities are:
- Vector2, Vector2Int, Vector3, Vector3Int, and Vector4;
- Color and Color32;
- any Array type (treated as a generic); Color and Color32 Arrays; GameObject and Component Arrays; and Lists alike;
- ParticleSystem;
- Rigidbody and Rigidbody2D;
- Texture2D and Sprite;
- float, int, byte, double, and decimal; and string;
The asset comes with demo scenes showing how to use some of the extensions and utilities.
This tool also tries to help with custom editor creation, containing many methods of pre-created GUI for the editor (it doesn't use Unity's UIElements), of which there are three highlights:
- Many header variants, some accessible via attributes;
- a custom array displayer for float arrays with range; and
- a splitter line that is accessible via the Splitter Attribute;
This package works from Unity 2018.4 LTS up to Unity 2020.1.
Join the Nut Tools Discord server if you want to help others, get help, suggest improvements and content, and vote on features for future updates!
You can also send an e-mail to [email protected] if you have any questions.