I think I figured it out. Here is my working code if anyone wants to do something similar:
public GameObject splineControllerObject;
public float controllerPosition = 0;
void LateUpdate () {
float position = splineControllerObject.GetComponent<SplineController> ().Position;
float length = splineControllerObject.GetComponent<SplineController> ().Length;
controllerPosition = position / length;
GetComponent<FluffyUnderware.Curvy.Generator.Modules.BuildShapeExtrusion> ().From = controllerPosition;
}
public GameObject splineControllerObject;
public float controllerPosition = 0;
void LateUpdate () {
float position = splineControllerObject.GetComponent<SplineController> ().Position;
float length = splineControllerObject.GetComponent<SplineController> ().Length;
controllerPosition = position / length;
GetComponent<FluffyUnderware.Curvy.Generator.Modules.BuildShapeExtrusion> ().From = controllerPosition;
}