feat: import JSON level (#48)

This commit is contained in:
djelalb
2025-03-24 19:00:31 +01:00
committed by GitHub
parent 58f774fc7e
commit d57cc647aa
11 changed files with 1488 additions and 1 deletions

View File

@ -111,4 +111,12 @@ public class LevelsLoader : MonoBehaviour
return clampedPercentage;
}
public void RefreshLevels()
{
levels.Clear();
LoadAllLevels();
if (levels.Count > 0)
levelCurrent = levels[0];
}
}