/* * new public void NewEffectSwitch(string effectName, int duration, Unit sourceUnit, Unit targetUnit) * { * base.NewEffectSwitch(effectName, duration, sourceUnit, targetUnit); * } */ /// Additionally runs updateEffectTimers. new public void NewEffect(Effect newEff) { Debug.Log("NewEffect() is running."); base.NewEffect(newEff); hud.updateEffectTimers(newEff); }