/// <summary> /// Deactivates the tech and all of it's abilities. /// </summary> /// <param name="t"></param> private void FullyDeactivateTech(Tech t) { t?.Deactivate(); t?.Abilities?.ForEach(x => x.Stop()); }