View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 6000.0.23 or later
- Package size
- 55 KB
- Files
- 8
- Favorites
- 1
- Views in the past week
- 2
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
MCB - Modular Code Block
Modular Code Block is a powerful tool for organizing and managing structured data in Unity. It supports modular, reusable lists with a custom editor UI, making workflows efficient and scalable.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
MCB - Modular Code Block screenshot 1
About this asset
Modular Code Block is a flexible and powerful tool designed to simplify the management of structured data in Unity. It allows developers to create and organize modular data lists using a custom generic system (MCBList<T>).
With built-in custom PropertyDrawers, this package enhances the Unity Inspector, making it easier to manage lists of complex objects without clutter. It supports nested data, serialization, and type recognition, ensuring an intuitive and efficient workflow.
Key Features:
✅ Modular Data Management – Easily store and manage structured data in lists.
✅ Custom Inspector UI – View and edit data seamlessly with a user-friendly UI.
✅ Automatic Type Recognition – Derived classes automatically appear in the list.
✅ Flexible & Scalable – Suitable for inventory systems, character attributes, and more.
✅ Full Source Code Included – Customize and extend as needed.
⚠️ Warning: Avoid renaming classes after adding them to the list, as Unity’s serialization depends on class names.
Perfect for game developers looking to organize and manage dynamic data effortlessly! 🚀
From the publisher's Asset Store listing.
Technical details
Technical Details
- Supported Unity Versions: Unity 2020.3+ (Optimized for Unity 6)
- API Compatibility: .NET Standard 2.1
- Serialization Support: Fully supports Unity’s SerializeReference for polymorphic lists
- Editor UI: Custom PropertyDrawer using UI Toolkit (UIToolkit) for improved list visualization
- Type Safety: Uses generics (MCBList<T>) for structured and type-safe data handling
- Dynamic Class Selection: Automatically detects and allows selection of derived classes in the Unity Inspector
- Find & Filter Support: Built-in search functionality (Find(Predicate<T>)) to locate specific list items
- Optimized for Performance: Uses Unity's native serialization, avoiding unnecessary allocations
- Full Source Code Included: Easily extend and modify for your project needs
Important Notes
- Do not rename serialized classes after adding them to the list, as Unity references them by class name.
- Requires Unity Editor UI Toolkit for custom UI rendering.
- Works with MonoBehaviour & ScriptableObjects, making it suitable for various game development needs.
This package is ideal for organizing and managing structured data in Unity with efficiency and flexibility! 🚀
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.0.23f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.