07-30-2014, 02:22 PM
By having a public field in your Component that stores another Component of type FollowSpline, like:
Code:
public class Test : MonoBehaviour
{
public FollowSpline MyControllerObject;
void Update()
{
MyControllerObject.Speed=10;
}
}