private void OnEnable()
 {
     script = (WaypointsChildScript)target;
     wps    = script.transform.parent.GetComponent <WaypointsScript>();
 }
 private void OnEnable()
 {
     script = (WaypointsScript)target;
 }