/// <summary> /// Clones all properties from another <see cref="SteerForVectorFieldComponent"/>. /// </summary> /// <param name="steerForVector">The component to clone from.</param> public void CloneFrom(SteerForVectorFieldComponent steerForVector) { this.priority = steerForVector.priority; this.weight = steerForVector.weight; this.slowingAlgorithm = steerForVector.slowingAlgorithm; this.slowingDistance = steerForVector.slowingDistance; this.arrivalDistance = steerForVector.arrivalDistance; this.autoCalculateSlowingDistance = steerForVector.autoCalculateSlowingDistance; this.arrivalRadiusMargin = steerForVector.arrivalRadiusMargin; }