void Start() { steeringBasics = GetComponent <SteeringBasics>(); offsetPursuit = GetComponent <OffsetPursuit>(); separation = GetComponent <Separation>(); sensor = transform.Find("SeparationSensor").GetComponent <NearSensor>(); }
void Start() { steeringBasics = GetComponent <SteeringBasics>(); wander = GetComponent <Wander2>(); cohesion = GetComponent <Cohesion>(); separation = GetComponent <Separation>(); velocityMatch = GetComponent <VelocityMatch>(); sensor = transform.Find("Sensor").GetComponent <NearSensor>(); }