# AgentPatrol

To patrol the vicinity of the specified location.

![AgentPatrol](./images/AgentPatrol.png)

## Properties

<table border="1" class="docutils">
<thead>
<tr><th>Property Name</th><th>Description</th></tr>
</thead>
<tbody valign="top">
<tr>
<td>
Agent Controller
</td>
<td>
AgentController you want to control.
</td>
</tr>
<tr>
<td>
Update Type
</td>
<td>
Agent update type.<dl class="docutils">
<dt>Time</dt><dd>
            Update by time designation.
            </dd>
<dt>Done</dt><dd>
            Update when done。
            </dd>
<dt>Start Only</dt><dd>
            Update only at start
            </dd>
<dt>Always</dt><dd>
            Always updated
            </dd>
</dl>
</td>
</tr>
<tr>
<td>
Time Type
</td>
<td>
Interval time type.<dl class="docutils">
<dt>Normal</dt><dd>
            Use time of current frame considering timeScale.
            </dd>
<dt>Unscaled</dt><dd>
            Use time of current frame without considering timeScale.
            </dd>
<dt>Realtime</dt><dd>
            Use realtime.
            </dd>
</dl>
</td>
</tr>
<tr>
<td>
Interval
</td>
<td>
Interval (seconds) before moving destination is changed. (Used only when UpdateType is Time, Done)<br />
            The interval after arrival for AgentUpdateType.Done.
</td>
</tr>
<tr>
<td>
Stop On State End
</td>
<td>
Whether to stop when leaving the state.
</td>
</tr>
<tr>
<td>
Speed
</td>
<td>
Moving Speed
</td>
</tr>
<tr>
<td>
Radius
</td>
<td>
Moving radius
</td>
</tr>
<tr>
<td>
Center Type
</td>
<td>
Center type to patrol<dl class="docutils">
<dt>Initial Placement Position</dt><dd>
            Initial placement position of AgentController object
            </dd>
<dt>State Start Position</dt><dd>
            Position of AgentController object at the time of the state start
            </dd>
<dt>Transform</dt><dd>
            Transform
            </dd>
<dt>Custom</dt><dd>
            Custom
            </dd>
</dl>
</td>
</tr>
<tr>
<td>
Center Transform
</td>
<td>
Specifying the center transform (CenterType is Transform only)
</td>
</tr>
<tr>
<td>
Center Position
</td>
<td>
Specify the center (CenterType is Custom only)
</td>
</tr>
 </tbody>
</table>

