Function AIBase.FindComponents

FindComponents ()

Looks for any attached components like RVOController and CharacterController etc.

Public
void FindComponents ()

Looks for any attached components like RVOController and CharacterController etc.

This is done during OnEnable. If you are adding/removing components during runtime you may want to call this function to make sure that this script finds them. It is unfortunately prohibitive from a performance standpoint to look for components every frame.