// Use this for initialization void Start() { path.calcDistances(); steeringBasics = GetComponent <SteeringBasics>(); followPath = GetComponent <FollowPath>(); }
private void Start() { path.calcDistances(); steeringBasics2 = GetComponent <SteeringBasics2>(); wallAvoidance2 = GetComponent <WallAvoidance2>(); followPath = GetComponent <FollowPath>(); }
// Use this for initialization void Start() { path.calcDistances(); steeringBasics = GetComponent <SteeringBasics>(); followPath = GetComponent <FollowPath>(); colAvoid = GetComponent <CollisionAvoidance>(); colAvoidSensor = transform.Find("ColAvoidSensor").GetComponent <NearSensor>(); }