protected virtual void OnEnable () {
lastRepath = -9999;
waitingForPathCalc = false;
canSearchPath = true;
if (startHasRun) {
//Make sure we receive callbacks when paths complete
seeker.pathCallback += OnPathComplete;
StartCoroutine (SearchPaths ());
}
}