Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/17
loading
loading
loading
loading
loading
loading
loading
Turn any Prefab into a "black box": hide its components and child GameObjects, and reveal only what you want. No more unwanted overrides or Applying by mistake, saving time for the whole team.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
6000.0.27f1
Compatible
Compatible
Compatible
2022.3.37f1
Compatible
Compatible
Compatible
2021.3.27f1
Compatible
Compatible
Compatible
Description

Prefab encapsulation has been one of the top feature requests from Unity users ever since nested Prefabs were introduced in 2018. BlackBox enables just that, with a single component!


With all the options that Unity's Prefab system offers, even for an expert user it can be easy to make modifications by mistake on a Prefab instance and leave them as overrides in the scene, something that can become a source of bugs that are pretty hard to track down. With BlackBox it's possible to prevent overrides to any Prefab... but not just that!


BlackBox offers three main features:


📦 Locking a Prefab

📦 Revealing properties, methods, references, or entire components

📦 Preventing Apply


And the beauty is that these three can be used together or individually, to create just the Prefab workflow you need!


In detail:


📦 LOCKING

Once you add the BlackBox component, any Prefab with a number of children GameObjects and components appears as a single object in the hierarchy in the Scene. The user can only change the Transform properties, and enable/disable it. To modify other properties, simply open it in Prefab mode and make changes as usual.


Temp Unlocking (NEW!)

You can temporarily unlock a Prefab on-the-fly, by just clicking an icon or hitting the U key. This allows you to add overrides to an otherwise locked Prefab.


📦 REVEAL PROPERTIES, METHODS, OBJECT REFS, COMPONENTS

If you have an important aspects of your Prefab that still need to be visible, you can add them to a list of revealed items. These special properties are going to show up on the root even when the Prefab is locked! (see images)

  • All property types are supported out of the box, including the ones decorated with Odin Inspector! ✨
  • You can reveal entire component Inspectors in one click! ✨✨
  • You can reveal methods, and they will show up as buttons, so you can invoke them directly from the BlackBox (in Play or Edit mode). ✨✨✨
  • If you need to reference a child Component in another script (a typical Unity pattern!), you can reveal an object reference to it! ✨✨✨✨

In essence, you can expose any internal aspect of your locked Prefabs, and use that to guide the team on what they can actually modify.


📦 PREVENTING APPLY

You can take revealed properties one step further and prevent users from applying Scene overrides to them. They can still be Reverted, but with no Apply the user gets the extra safety of being unable to mess with the original Prefab asset.


➡️ AND MORE!


Auto-add

You can configure BlackBox to be auto-added to all your Prefabs on creation, to achieve the ultimate safe workflow... or just add it manually to the ones you want!


No impact on the game

The BlackBox component is an editor-only component, so it won't end up in your builds, meaning it has no impact on the game.

You can easily add, remove or readd the BlackBox component, with no consequence or changes to how your Prefabs behave at runtime.


Compatible with all Prefab types and workflows

The BlackBox workflow is compatible with Prefab Variants and nesting, so you can have a locked Prefab within an unlocked Prefab, or viceversa.


Compatible with Odin Inspector

By simply using an [RevealWithOdin] attribute, properties decorated with Odin attributes will show in the BlackBox component just like they do in their original components.

Please note that the vast majority of Odin attributes are supported, but not all. Attributes that modify the layout (like [TabsGroup] or [FoldoutGroup]) are unlikely to work.


🎩 Integration with Hats - Workspaces and Teams (NEW!)

BlackBox integrates with Hats - Workspaces and Teams. Upon configuring a Prefab, you can now choose which Teams are allowed to edit it. (Read Hats documentation for more on Teams)


📘 Documentation

You can preview the documentation and learn all about the functionality before you get the asset.


Save some money

BlackBox is part of our All Editor Tools bundle. By getting that, you effectively get this package at 25% off. If instead you already purchased this package, you will get a discount on the bundle.


💬 Feedback

If there is a workflow BlackBox doesn't cover, I'd like to hear from you how I can make BlackBox better. You can write to buoybase@gmail.com and we can assess if it can be added to the asset. Or hop on my Discord to have a chat.

Technical details

Version compatibility

BlackBox is only compatible with Unity 2021 LTS and later (including Unity 6).

BlackBox - Improved Prefab Workflow

(10)
146 users have favourite this asset
(146)
$58.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
107.3 KB
Latest version
1.8.2
Latest release date
Dec 30, 2024
Original Unity version
2021.3.27 or higher
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR
$58.99