public void Update() { iAction1.Update(ref position, ref alpha, ref size); if (iAction2 != null) { iAction2.Update(ref position, ref alpha, ref size); } if (iAction3 != null) { iAction3.Update(ref position, ref alpha, ref size); } }