Derived AIMFilter<T> component using SteeringPercept as type for the extracted percept data.
An appropriate input component for obtaining extracted percept data is the AIMSteeringPerceiver which can be specified directly through setting the SteeringPerceiver field. If the SteeringPerceiver is null
, this component searches for an appropriate object specified by this tag using Unity's tag system.
Public Fields | |
AIMSteeringPerceiver | SteeringPerceiver |
The input component to get extracted percept data for. More... | |
string | ObjectTag = "Untagged" |
If the SteeringPerceiver is null , this component searches for an appropriate object specified by this tag using Unity's tag system. More... | |
float | Range = -1.0f |
Percepts within this range are made available to the behaviours by, whereby all values smaller than 0 correspond to infinity. More... | |
readonly T | Self |
Percept data of the agent itself (read only). More... | |
Protected Fields | |
AIMContext | aimContext |
Reference to the associated AIMContext component. More... | |
Properties | |
override AIMPerceiver< SteeringPercept > | Perceiver [get] |
Reference to the input component of the extracted percept data (read only). More... | |
bool | Enabled [get, set] |
Determines whether this component is enabled. More... | |
Public Methods | |
override void | GetPercepts (IList< string > environments, IList< SteeringPercept > percepts) |
Obtains the extracted percepts of type SteeringPercept belonging to the specified environments . More... | |
abstract void | GetPercepts (IList< string > environments, IList< T > percepts) |
Obtains the extracted percepts of type T belonging to the specified environments . More... | |
virtual void | PrepareEvaluation () |
Needs to be called before Context.Evaluate gets called within the main thread. More... | |
Protected Methods | |
override void | Awake () |
Awake is called when the script instance is being loaded. More... | |
virtual void | OnDestroy () |
This method is called when the MonoBehaviour will be destroyed. More... | |