Method MoveAlong
MoveAlong(RideID, RideID, Single)
Move along the given path
Declaration
void MoveAlong(RideID path, RideID transform, float duration)
Parameters
Type | Name | Description |
---|---|---|
RideID | path | The path to move along |
RideID | transform | The transform that will move |
System.Single | duration | The duration to reach the end of the spline |
MoveAlong(RideID, RideID, Single, RideID)
Move along the given path
Declaration
void MoveAlong(RideID path, RideID transform, float duration, RideID lookAtTarget)
Parameters
Type | Name | Description |
---|---|---|
RideID | path | The path to move along |
RideID | transform | The transform that will move |
System.Single | duration | The duration to reach the end of the spline |
RideID | lookAtTarget | The target the transform will look at when moving alonng the spline |