Added a BezierPathJoiner component to the Examples for stiching together multiple paths into one #119
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a BezierPathJoiner component to the Examples, which allows for stiching together multiple BezierPaths into one with smooth transitions. This is done by adding the BezierPathJoiner component to a new GameObject with a PathCreator component on it. Through the inspector other PathCreators can be referenced into a List, and via a click on the "Join Paths" button, all BezierPaths of the referenced PathCreators get joined into a single path, which then gets applied to the PathCreator.
Additionally, BezierPath.cs file is now correctly formatted and has an additional helper function for adding multiple points at once to the path, as well as a new cloning-constructor for creating a perfect copy of a BezierPath from another BezierPath.