|Topic was automatically imported from the old Question2Answer platform.
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 locked_check 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 locked_check 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?
can you share some code?
OgGhostJelly | 2022-10-21 04:18