private void AddControlPoint(Vector3 position) { for (int i = 0; i < this.PointsBetweenControlPoints; i++) { base.AddPoint(new PCTrailPoint(), position); } base.AddPoint(new PCTrailPoint(), position); SmoothTrail.ControlPoint controlPoint = new SmoothTrail.ControlPoint { p = position }; if (this.TrailData.UseForwardOverride) { controlPoint.forward = ((!this.TrailData.ForwardOverrideRelative) ? this.TrailData.ForwardOverride.normalized : this._t.TransformDirection(this.TrailData.ForwardOverride.normalized)); } this._controlPoints.Add(controlPoint); }