private void Awake()
    {
        Waypoints w         = new Waypoints();
        Waypoints waypoints = w.GetComponent <Waypoints>();

        target = Waypoints.points[w.currlength];
    }