Get current patrol index
Called when the component is added to an entity
Called when the component is removed or entity is destroyed
Called when the owning entity is recycled from a pool. Reset internal state to defaults.
Reverse patrol direction
Called every frame
Moves an entity back and forth between patrol points.