In this step, we will create the
WaypointsContainerEditor script, which will create the custom inspector for our
WaypointsContainer component. We will have the Slider bar to limit the minimum and maximum radius of each the waypoint, the Add and Remove waypoint buttons that automatically add and remove the waypoint from the scene, and finally, we will update the name of each waypoint automatically when adding or removing from the scene to make it easier for us to edit.
We will begin by removing the old WaypointsContainer object in the Hierarchy view: