void ResetModes() { isSeekMode = false; seekTarget.gameObject.SetActive(false); isFleeMode = false; fleeTarget.gameObject.SetActive(false); isPursuitMode = false; isArrivalAndAvoidanceMode = false; arrivalTarget.gameObject.SetActive(false); isLeaderFollowingMode = false; leaderSeekTarget.gameObject.SetActive(false); path.HidePath(); }