Energy Based Objects
2.01
|
Modifies two points of a LineRenderer. More...
Public Member Functions | |
void | MoveTo (Vector3 start, Vector3 end, float startOffset, float endOffset, bool moveStart, bool moveEnd, float speed, bool speedIsLineDistance) |
Static Public Member Functions | |
static Vector3 | ClampVector (Vector3 point, Vector3 lineStart, Vector3 lineEnd) |
Public Attributes | |
Vector3 | startPosition |
Start of the LineRenderer. | |
Vector3 | endPosition |
End of the LineRenderer. | |
Vector3 | currentStartPosition |
Vector3 | currentEndPosition |
bool | moveStart |
Move the start point of the LineRenderer? | |
bool | moveEnd |
Move the end point of the LineRenderer? | |
float | startOffset |
Offset the time of the start point. | |
float | endOffset |
Offset the time of the end point. | |
float | speed |
bool | speedIsLineDistance |
Events | |
Action | OnLineReachEnd |
Event fires when the end of the line reaches the endPosition. This will be immediately fired if moveEnd is false. | |
Action< float > | OnLineReachDistance |
Distance from the start. |
Modifies two points of a LineRenderer.
float endOffset |
Offset the time of the end point.
Vector3 endPosition |
End of the LineRenderer.
bool moveEnd |
Move the end point of the LineRenderer?
bool moveStart |
Move the start point of the LineRenderer?
float startOffset |
Offset the time of the start point.
Vector3 startPosition |
Start of the LineRenderer.
Action<float> OnLineReachDistance |
Distance from the start.
Action OnLineReachEnd |
Event fires when the end of the line reaches the endPosition. This will be immediately fired if moveEnd is false.