Ejemplo n.º 1
0
    void Start()
    {
        UIController controller = GeneralVariables.uiController;

        controller.EnableSurvival();
        waveCounter        = controller.waveCounter;
        enemiesLeftCounter = controller.enemiesLeftCounter;

        currentModifier = new Tougheners();
        currentModifier.damageModifer  = 1f;
        currentModifier.healthModifier = 1f;
        currentModifier.valueModifier  = 1f;

        typingEffect = waveCounter.GetComponent <TypingEffect>();

        enemiesToSpawn = baseAmountOfEnemies;
        enemiesLeft    = enemiesToSpawn;
        typingEffect.UpdateText("WAVE " + currentWave.ToString());
        enableSpawning = true;
    }
Ejemplo n.º 2
0
 public void Toughen(Tougheners t)
 {
     hMod = t.healthModifier;
     vMod = t.valueModifier;
 }