Tetra Core is a library of C# extension methods and utility scripts designed to simplify common tasks and improve code cleanliness. It includes a range of extensions for various Unity types, such as GameObject, Collider, CanvasGroup, and more. The package also comes with utility scripts like CountdownTimer, Timer, and LayerMaskFilter.
Some examples of what Tetra Core can do include:
* Checking if a GameObject entering a trigger collider has the expected LayerMask * Adding an item to a list if it's not already there * Changing the transparency of an image color * Showing or hiding a CanvasGroup * Shuffling a list and getting a random item from it * Destroying all children from a transform
The package is well-documented and includes a list of all extension scripts, including AudioMixerExtensions, Collider2DExtensions, and more. It also comes with a few utility scripts in the TetraCreations.Core.Utility folder.
Tetra Core uses various third-party assets under the Creative Common Zero (CC0) license, including audio files and graphics.
To use Tetra Core, please import the TetraAttributes package into your project before importing Tetra Core. The package has been tested in Unity 2021.3.
Technical Details:
TetraAttributes package is required. Tested in Unity 2021.3.