void Update | ( | AIMEnvironment | environment, |
IList< SteeringPercept > | percepts | ||
) |
Updates the positions of all percepts within the grid with respect to the given environment .
Before this method can be called properly during one update step, make sure to call PrepareUpdate(Vector3, IList<AIMEnvironment>) first.
environment | An AIMEnvironment instance to update the grid for. |
percepts | A list containing all percepts associated with the given environment . |
NullReferenceException | If the environment or percepts are null . |