Polarith AI
1.8

◆ PerceiveEnvironment() [1/2]

override void PerceiveEnvironment ( AIMEnvironment  environment,
IList< SteeringPercept percepts 
)
protected

Marks all corresponding percept data as non-received and sets their game object reference.

Depending on the given SpatialPartition, this is either done directly or a spatial structure is updated such that the access in GetPerceptsInRange(Vector3, float, IList<string>, IList<SteeringPercept>) can be optimized.

Parameters
environmentThe environment to extract the percept data for.
perceptsThe percept list for storing the extracted data.
Exceptions
System.NullReferenceExceptionIf environment or percepts are null.
Imprint