IEnumerator DelayedHPBarUpdate(int amount, float delay) { yield return new WaitForSeconds(delay); GetComponent<UnitGUIController>().OnHealthLostBy(amount); }