Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
1/4
Lock and expose prefab properties to simplify editing. Ideal for teams and projects with multiple prefab variations, ensuring consistency and easy access to essential properties.
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 Version | Built-in | URP | HDRP |
---|---|---|---|
2021.3.29f1 | Compatible | Compatible | Compatible |
Description
Overview
The Lockable Prefab component allows you to streamline your workflow by locking prefabs in Unity, hiding unnecessary components and nested objects, and exposing only the properties you need to edit. This is ideal for teams working on large projects where prefab consistency and ease of use are crucial.
Adding the Lockable Prefab Component
- Select Your Prefab: In the Unity Editor, select the prefab you want to lock.
- Add the Component: In the Inspector, add the `Lockable Prefab` component.
Locking and Unlocking the Prefab
- Locking: Click the "Lock" button to hide all components and nested objects within the prefab. Only the exposed properties will remain visible and editable.
- Unlocking: Click the "Unlock" button to restore the visibility of all components and nested objects.
Exposing Properties
- Selecting Exposed Properties: After locking the prefab, click "Select Exposed Properties" to choose which properties to expose. These properties will remain editable even when the prefab is locked.
Use Cases
- Team Collaboration
- Focused Editing for Level Designers:
- In a team environment, developers can create complex prefabs and expose only the necessary properties for level designers or other team members. This ensures that the prefab’s core structure remains intact, while designers can freely adjust the exposed properties, such as colors, positions, or materials, without risk of accidental changes to critical components.
- Managing Multiple Prefab Variations
- Efficiently Edit Prefab Variations:
- When working with a large number of prefabs that are similar but require slight variations, this asset makes it easy to manage those differences. By locking the prefab and exposing only the properties that need tweaking, you can quickly adjust multiple prefabs without sifting through unnecessary components, leading to a more streamlined workflow.
Best Practices
- Use Locking for Consistency: Locking your prefabs ensures consistency across your project, especially when multiple team members are involved. This reduces the chances of unintentional changes to essential parts of the prefab.
- Expose Only What’s Necessary: Keeping the Inspector clean by exposing only the relevant properties helps maintain focus on what matters most, making the editing process faster and more intuitive.
Support
For support or more information, please contact me on Discord: @DJICore or visit our website at https://inkscape-rr.com
Technical details
License agreement
Standard Unity Asset Store EULALicense type
File size
11.6 KB
Latest version
1.0
Latest release date
Jan 27, 2025
Original Unity version
2021.3.29 or higher
Support
Visit siteFrequently bought together
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Language
Feedback
Partners Program
PartnersUSD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR