BlackBox is a simple framework to enable a workflow that is often referred to as "turning a Prefab into a black box", or "encapsulating", "collapsing" or "locking" it (there is no official name).

A locked Prefab will appear to the user as if it was a single GameObject, with no additional components. This prevents unwanted overrides and simplifies workflows in a team.

However, BlackBox offers more tools than just locking. You can reveal important properties that you need to override, and even prevent the user from Applying those overrides.

To get started, check out how to lock a Prefab.

BlackBox is purely an Editor extension. When building the game, the BlackBox components are stripped from Prefabs, so you can be sure that they will not interfere or have any impact on your builds.

Last updated