# AgentFollow

Move Agent so that it approaches Target.

![AgentFollow](./images/AgentFollow.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>
Stopping Distance
</td>
<td>
Distance to stop
</td>
</tr>
<tr>
<td>
Target
</td>
<td>
The target Transform to be approached
</td>
</tr>
<tr>
<td>
Done
</td>
<td>
State transition at the time of movement completion<br />
            Transition Method : OnStateUpdate
</td>
</tr>
 </tbody>
</table>


## Remarks

Intervals are randomly determined from the range of Min Interval and Max Interval.<br />

