void LevelUp() { ++_currentLevel; // level up switch (_currentLevel) { case 2: _spawn.UnlockLine(); _spawn.SpawnCredit(); break; case 3: _spawn.SpawnCredit(); break; case 4: _spawn.UnlockLine(); _spawn.SpawnCredit(); break; } //Debug.Log("Leveled up to:" + _currentLevel); _currentSpawnDelay -= SpawnDelayDecreaseAmount; if (_currentSpawnDelay <= MinimumSpawnDelay) { _currentSpawnDelay = MinimumSpawnDelay; } //if (_currentLevel % LevelsPerLifeBonus == 0) // GainLife(); // SHOULD BE CHANGED INTO COINS }