Exemple #1
0
    private void Start()
    {
        slider       = GetComponent <Slider>();
        slider.value = 0;

        // Adjust to difficulty
        levelDuration *= PlayerPrefsController.GetDownscaledDifficulty(difficultyScale);
        print(levelDuration);
    }
 private void Start()
 {
     minSpawnTime /= PlayerPrefsController.GetDownscaledDifficulty(spawnDifficultyScale);
     maxSpawnTime /= PlayerPrefsController.GetDownscaledDifficulty(spawnDifficultyScale);
     print((minSpawnTime, maxSpawnTime));
 }