Lockable Properties

$4
Publisher 3PupperStudios
File size 308.17kB
Number of files 9
Latest version 1
Latest release date 2020-08-26 09:08:28
First release date 2020-08-24 08:30:21
Supported Unity versions 2018.4.2 or higher
Lockable Properties is a simple Editor tool to help protect your work in the final stages. This simple tool can ease your worries about accidentally making changes to finished Properties.
Designed to be as simple as possible, Lockable Properties allows you to set specific variables to lock down from future edits. Simply select the variables you need to finalize in the inspector and lock them to prevent accidental edits in the future.

Simply include “ThreePupperStudios.Lockable” at the top of the scripts that you would like to have lockable properties and add the [Lockable] Attribute to the top of your property in your script.
Doing so will make your property appear disabled by default in the unity inspector
If you locked a Property by accident, or need to edit the Property fields, you can use the Inspector to quickly Unlock your Property.
Right click on the name of the property in the inspector to open the Lock/Unlock menu. This will cause the field to no longer be disabled and you will be able to edit it again.
To relock a Property when you’re done making changes, go ahead and right click on the Property name again, select “Lock” and you’re done!

Top Publisher Assets