private void ScapeFromTarget(Point enemyToAvoid) { Point scapePosition = AIUtils.GetPositionToScape(enemyToAvoid, this.Unit.GetPosition(), this.Range, this.validPaths); if (scapePosition == default) { //// Logcat.I("Invalid position to scape"); return; } //// Logcat.I(this, $"Scaping to {scapePosition}"); List <Point> path = this.validPaths[scapePosition]; PlacementEffects placement = new PlacementEffects(); this.StartCoroutine(placement.LerpMovementPath(this, this.Unit, SetPathOrder(path))); //// PlacementHelper.Move(this.Unit, scapePosition, new MoveUnitValidator(this.Unit, scapePosition)); }