// Use this for initialization void Start() { LevelUtils.initLevel(); PlayerDataUtils.loadData(); if (PlayerDataUtils.playerData.highestLevelUnlocked != 0) { currentUnlockedLevel = PlayerDataUtils.playerData.highestLevelUnlocked; } for (int i = 0; i < LevelUtils.GetLevels().Count; i++) { CreateSelectLevel(i); } }
// Use this for initialization void Start() { LevelUtils.initLevel(); }