public void EndEnemyRound() { foreach (GameObject copy in heroList) { Hero heroCopy = copy.GetComponent <Hero>(); heroCopy.APControl(); } unitMoving = false; }