Publisher | Tetra Creations |
---|---|
File size | 16.69MB |
Number of files | 92 |
Latest version | 1.0.0 |
Latest release date | 2024-11-27 03:36:14 |
First release date | 2024-11-27 03:36:14 |
Supported Unity versions | 2018.4.2 or higher |
Important : Please import TetraAttributes into your project before importing Tetra Core package.
This package improves the functionality of existing types, while contributing to the cleanliness and maintainability of your code.
Simple extension methods and utility scripts greatly improve the readability of your code by factoring the most common use cases, here are a few examples :
- Checking whether a GameObject entering a trigger collider has the expected LayerMask.
- Trying to Add an item to a list if isn't already there.
- Change the transparency of an image color.
- Show/Hide a CanvasGroup.
- Shuffle a list, get a random item from it.
- Destroy all children from a transform.
Check the online Documentation and the Scripting API for more details.
Here is the list of all extensions scripts :
TetraCreations.Core
- AudioMixerExtensions
- CanvasGroupExtensions
- CollectionExtensions
- Collider2DExtensions
- ColliderExtensions
- ColorExtensions
- ComparableExtensions
- DictionaryExtensions
- EnumerableExtensions
- FieldInfoExtensions
- FloatExtensions
- GameObjectExtensions
- ImageExtensions
- IntegerExtensions
- LayerMaskExtensions
- ObjectExtensions
- QuaternionExtensions
- RandomExtensions
- RectTransformExtensions
- RendererExtensions
- StringExtensions
- TextureExtensions
- TransformExtensions
- TypeExtensions
- TypeUtility
- Vector2Extensions
- Vector3Extensions
TetraCreations.Core.Editor
- AssetDatabaseExtensions
- AudioMixerExtensions
- EditorExtensions
- MonoScriptExtensions
- PathReferenceExtensions
It also comes with a few utility scripts :
TetraCreations.Core.Utility
- CountdownTimer
- Timer
- TimerManager
- LayerMaskFilter
- Singleton
- Trigger2DCollider
- TriggeCollider
- FloatValueCondition
This package uses various third party assets as examples under the Creative Common Zero (CC0) license :
- Hit Swing Sword Small 2 by CogFireStudios
- Modern and Futuristic Beats by Nancy_Sinclair
- live audience comedy show genuine laughter_moderate.wav by HowardV
- Knight Pack by Quaternius