feat: dynamically create elements levels (#39)

This commit is contained in:
2025-03-03 10:36:38 +01:00
committed by GitHub
parent ce92ba53cc
commit e2bbf26929
13 changed files with 608 additions and 476 deletions

View File

@ -23,6 +23,7 @@ public class LevelsLoader : MonoBehaviour
foreach (TextAsset jsonTextFileStats in levelStatsFiles)
{
LevelStat levelStat = LevelStat.CreateFromJSON(jsonTextFileStats.text);
levelStat.JsonName = jsonTextFileStats.name;
levelStatsMap[levelStat.JsonName] = levelStat;
}