//pozivanje funkcije koja pomera civile void UnitsMoveToPosition(Vector3 movePos, Unit[] units) { Vector3[] destinations = UnitMover.GetUnitGroupDestination(movePos, units.Length, 2); for (int x = 0; x < units.Length; x++) { units[x].MoveToPosition(destinations[x]); } }