The CurveFollower type exposes the following members.
Back to Top
Properties
| Name | Description | |
|---|---|---|
| CurrentLocalOffset |
Returns the offset of the curve follower on the curve
| |
| Curve |
The curve to follow
| |
| Cycles |
Returns the number of cycles that the curve follower is able to do (For CycleMode.Once=1, and CycleMode.Two=2)
| |
| FollowImmediatly |
Wether the curve should be followed immediatly (true), or the rotation should be slowly adjusted according to MaxTurnSpeed | |
| FollowMode |
Defines what happens when the follower reaches the end/start of the curve
| |
| HideAfterFinished |
If set to true the curve follower game object is inactive (hidden) in play mode after the EndTime was reached
| |
| HideBeforeStarted |
If set to true the curve follower game object is inactive (hidden) in play mode before the StartTime was reached
| |
| IsEditable |
Defines wether the curve follower is editable in the inspector or not
| |
| MaxTurnSpeed |
The speed of the rotation (only used when FollowImmediatly is set to false)
| |
| Speed |
The speed to follower the curve in units per second
| |
| StartCurveOffset |
Defines offset on the curve
|
See Also