public void OnTouchAction() { foreach (Unit u in units) { UnitAnimator a = u.unitAnimator; if (a != null) { a.OnTouchAction(); } } }