# DistanceTransition

It will transition the state by the distance between the target of GameObject.

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

## Properties

<table border="1" class="docutils">
<thead>
<tr><th>Property Name</th><th>Description</th></tr>
</thead>
<tbody valign="top">
<tr>
<td>
Target
</td>
<td>
Transform to be compared.
</td>
</tr>
<tr>
<td>
Distance
</td>
<td>
The distance between the Target.
</td>
</tr>
<tr>
<td>
Near State
</td>
<td>
Transition destination state if it is closer than the Distance.
</td>
</tr>
<tr>
<td>
Far State
</td>
<td>
Transition destination state if it is farther away than the Distance.
</td>
</tr>
 </tbody>
</table>

