10-21-2015, 06:37 AM
hi there,
How would i go about changing the speed variable in splineController.cs?
I'm wanting to make it that it can be changed globally from any other script. In the past i've done something similar to this:
But with the splineController code, I'm not sure what i need to do.
Any suggestions?
Thanks
How would i go about changing the speed variable in splineController.cs?
I'm wanting to make it that it can be changed globally from any other script. In the past i've done something similar to this:
Code:
public static float speed = 5;
But with the splineController code, I'm not sure what i need to do.
Any suggestions?
Thanks