So yeah I wanted to create a system for progression with unlocking levels (if you pass level 1 you unlock level 2 etc). My idea was to add variable locked which is set to 1 and lockedcheck to each level set for 1 on level 1 etc and I achieved that by using export(int) variable and if the locked would be bigger or equal to lockedcheck it would pass by it isn't working, well it worked for like 3 times but I did some changes and I don't know what exactly and it stopped working after that. Also I found out that locked_check variable which is set in inspector is always 0 in every level. Do anyone know how to fix that?