‎ ‎
On the Asset Store
BlackBox
BlackBox
  • Intro
  • Changelog
  • Troubleshooting
  • Main features
    • Locking Prefabs
      • Temp Unlock
      • Extra locking options
    • Reveal
      • Properties
        • UnityEvents as buttons
      • Entire components
      • Object references
      • Methods
      • Reveal lists
    • Disable Apply
  • Integrations
    • Odin Inspector
  • Other
    • Selection type
    • Project Settings
Powered by GitBook
On this page
  1. Main features
  2. Locking Prefabs

Extra locking options

Last updated 5 months ago

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

These options allow you to customise how the Prefab behaves.

In detail:

  • Hide Transform: when the Prefab is locked, the Transform (or RectTransform) component is hidden too. In addition, the Prefab cannot be moved, scaled or rotated in the scene view.

  • 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.

    • 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 regardless of where it's used.

Selection Type: the substitute selection mesh to allow selecting children made invisible by BlackBox. ()

more details
The Options foldout expanded