/// <summary> /// Begins the process of units moving through the path, then resets the movement tiles /// </summary> private void MoveUnit() { Transform selectedUnit = unitsManager.GetPlayerUnit(unitPos).transform; playerHasControl = false; ParticleSystem dustEmitter = selectedUnit.GetComponentInChildren <ParticleSystem>(); dustEmitter.Play(); StartCoroutine(MoveBetweenNodes(selectedUnit, moveSpeed)); ResetMovementTiles(); }