How can i make level lock and unlock System

i craeted i scene with new ui where u can select levels now i wonder how to create level lock and unlocking system with new ui and to be able to save the data where i come any ideas how can i make it :smiley:

Then basically what I suggested.

On completion of your level you have a Boolean = true, then only if that Boolean = true can you unlock the next level

:wink: