コード例 #1
0
    // 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);
        }
    }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     LevelUtils.initLevel();
 }