Example #1
0
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.Space))
     {
         effectBuilder.ExecuteEffects();
     }
 }
Example #2
0
 private void HandleHealthChanged(float currentHealth)
 {
     slider.value = currentHealth;
     _takeDamageEffect.ExecuteEffects();
 }