View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.2
- Last updated
- First released
- Unity version
- 2021.3.45 or later
- Package size
- 16.8 MB
- Files
- 94
- Favorites
- 11
- Views in the past week
- 1
- Requires
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Tetra Core
Tetra Core is a collection of C# extension methods and utility scripts. I've created this library to avoid writing the same lines of code for each project.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 6
Tetra Core screenshot 1
About this asset
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
- GradientExtensions
- MonoScriptExtensions
- PathReferenceExtensions
- UIToolkitHelper
It also comes with a few utility scripts :
TetraCreations.Core.Utility
- Billboard
- 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
From the publisher's Asset Store listing.
Technical details
TetraAttributes package is required.
Tested in Unity 2021.3.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2021.3.45f2 | Compatible | Compatible | Compatible |
As listed on the Asset Store.