View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.3
- Last updated
- First released
- Unity version
- 2020.3.26 or later
- Package size
- 2.5 MB
- Files
- 62
- Favorites
- 17
- Views in the past week
- 10
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Molecular Lib Core
This is a unity package that aims to add useful features for unity like a PolymorphicVariable, SerializableDictionary, a Tag wrapper, Timers; Vector, color and string conversion, and manipulation.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 9
Molecular Lib Core screenshot 1
About this asset
Ease development in unity adding useful and easy-to-use utilities!
This is a package for unity that provide useful utilities like the PolymorphicVariable and SerializableDictionary<TKey, TBase> classes and editor drawers, the ability to instantiate GameObjects with passing parameters to it, a safe Tag wrapper class, support for optional fields, a VolatileScriptableObject class and more! It is designed to implement features that add versatility and facility for doing some things.
Say you have a Weapon abstract class, with other classes, like Gun or Sword, deriving from it. You can use the PolymorphicVarialbe<Weapon> to show on the inspector the option to have a Gun or a Sword and fill in their fields, just like if you had a Gun field or a Sword field. Or say you want to have a dictionary to convert a string to a sprite, well unity can't serialize dictionaries, so you wouldn't be able to do that, but with the SerializableDictionart<string, Sprite> you can! You don't like string binding for tags? Use the Tag class, which will show a popup to select the desired tag. Don't want to call GetComponent, GameObject.Find() for each of your variables, why not use a simple attribute like [GetComponent]?
Here is a table of contents for this package:
- PolymorphicVariable<T>
- VolatileScriptableObject<T>
- SerializableDictionary<TKey, TValue>
- Timers
- AutoAssign
- AutoSingleton
- Instantiate with args
- Vector helper methods
- Color helper methods
- String helper methods
- Optional<T>
- Ranges
- Tag wrapper
- TypeVariable
- PlayStatus
- Maths
- TypeLibrary
- EditorHelper
- Enhanced Sprite Editor Drawer
Namespaces
All of the features in this package are in the following Namespaces:
- MolecularLib
- MolecularLib.Helpers
- MolecularLib.Timers
- MolecularLib.AutoAssign
- MolecularLib.PolymorphismSupport
- MolecularEditor
And MolecularLib.Demo for the demos
Bug reports and feature requests
This project has a github page in which you can make bug repots and feature requests
This project is also open-source, licensed under the Apache2 license.
From the publisher's Asset Store listing.
Technical details
Features:
- PolymorphicVariable<T>
- VolatileScriptableObject<T>
- SerializableDictionary<TKey, TValue>
- Timers
- AutoAssign
- AutoSingleton
- Instantiate with args
- Vector helper methods
- Color helper methods
- String helper methods
- Optional<T>
- Ranges
- Tag wrapper
- TypeVariable
- PlayStatus
- Maths
- TypeLibrary
- EditorHelper
- Enhanced Sprite Editor Drawer
For a description of any of the features above, please check the README file.
Documentation is included as a PDF and as a DOCX
This project is open-source, licensed under the Apache2 license.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2020.3.26f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.