# DistanceTransition

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

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

## Property

<table border="1" class="docutils">
<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>

