public void UpdatePosition(MapPosition mapPosition) { if (this.lineRenderer == null) { this.lineRenderer = this.gameObject.GetComponent <LineRenderer>(); } this.lineRenderer.SetPositions(mapPosition.CalculateAirfieldPositions()); }
public void UpdatePosition(MapPosition mapPosition) { if (this.lineRenderer == null) { this.lineRenderer = this.gameObject.GetComponent <LineRenderer>(); } this.lineRenderer.SetPositions(mapPosition.CalculateAirfieldPositions()); }