//-------------------------------------------------------------------------------------------------------------- /// <summary> /// This method is called when the object becomes enabled and active. /// </summary> protected override void OnEnable() { base.OnEnable(); filter = GetComponent <AIMFilter <SteeringPercept> >(); }
//-------------------------------------------------------------------------------------------------------------- /// <summary> /// This method is called when the object becomes enabled and active. /// </summary> protected override void OnEnable() { base.OnEnable(); filter = GetComponent <AIMFilter <T> >(); }