/// <summary> /// Clones from the other component. /// </summary> /// <param name="pathViz">The component to clone from.</param> public void CloneFrom(PathVisualizer pathViz) { this.drawAlways = pathViz.drawAlways; this.showSegmentMarkers = pathViz.showSegmentMarkers; this.drawVectorField = pathViz.drawVectorField; this.routeColor = pathViz.routeColor; this.waypointColor = pathViz.waypointColor; }