static void BuildList() { /*if (LoggingManager.instance.GetABStoredValue () == 0) { * TextAsset json = Resources.Load ("LevelProgressions/ProgA") as TextAsset; * levelList = LevelList.CreateFromJson (json.text).levelList; * } else if (LoggingManager.instance.GetABStoredValue () == 1) { * TextAsset json = Resources.Load ("LevelProgressions/ProgB") as TextAsset; * levelList = LevelList.CreateFromJson (json.text).levelList; * } else if (!LoggingManager.instance.isDebugging) { * throw new Exception ("PlayerPref for AB testing was not initialized correctly."); * } else { // Logging manager is debugging, just default to ProgA * TextAsset json = Resources.Load ("LevelProgressions/ProgA") as TextAsset; * levelList = LevelList.CreateFromJson (json.text).levelList; * }*/ TextAsset json = Resources.Load("LevelProgressions/ProgFinal") as TextAsset; levelList = LevelList.CreateFromJson(json.text).levelList; challengeUnlocks = new Dictionary <int, int>(); challengeUnlocks.Add(11, 25); challengeUnlocks.Add(15, 26); challengeUnlocks.Add(19, 27); challengeUnlocks.Add(22, 28); challengeUnlocks.Add(24, 29); }