Beispiel #1
0
 IEnumerator ReloadShield()
 {
     yield return new WaitForSeconds(5.0f);
     shield.enabled = true;
     flareGain.Play();
     source.PlayOneShot(shieldGainSound, 1.0f);
     actor.GiveShield(100);
     actor.ApplyDamage(0);
 }
Beispiel #2
0
 public void GainShield()
 {
     actor.GiveShield(100);
     DeliverDamage(0);
 }