Class PatrolExample Extends MonoBehaviour

Public

Simple patrol behavior.

Public Variables

targets

Target points to move to in order.

Public

Private/Protected Members

agent
Private
Awake ()
Private
index

Current target index.

Private
Update ()

Update is called once per frame.

Private