Skip to main content

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

Inheritance​

Methods​

CreateInspectorGUI()​

Implement this method to make a custom UIElements inspector.

public override VisualElement CreateInspectorGUI()

Returns​

VisualElement