Ejemplo n.º 1
0
    void Awake()
    {
        currentLevel = AllLevelsData.GetCurrentLevel();
        isGameOver   = false;
        isGamePaused = false;
        Debug.Log(">>>> lvl > " + AllLevelsData.GetCurrentLevel());

        ResumeGame();

        ThirdStarScore = currentLevel.GetBlocksAmount() * 85; // this is where the fuckyou were doing that
    }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     saveManager = SaveManager.instance;
     gameData    = saveManager.GetSavedData <AllLevelsData>();
 }