Custom Locking behaviour

As you edit a `BlackBox` in Prefab Mode, you will notice some extra options under the Behaviour foldout:

These options allow you to customise how the Prefab behaves when is used in specific ways.

In detail:

  • Keep Unlocked When Nested: when the Prefab is nested under another Prefab, it is shown as unlocked even if its Locked property is set to true.

  • Keep Unlocked If Variant Root: when a Variant is created out of this Prefab and the Variant is being edited, the Prefab root shows as unlocked even if the original Prefab was set to be locked.

Having both of these options off is the default scenario, where the Prefab behaves as locked (if it is locked) regardless of where it's used.

Last updated