Class PathFollowBehaviorEditor
Custom editor class for the PathFollowBehavior component. This editor adds a button to the inspector that allows snapping the GameObject to the closest position on the path.
[CustomEditor(typeof(PathFollowBehavior), true)]
public class PathFollowBehaviorEditor : Editor