Property | Type | Description | |
---|---|---|---|
currentState | states | ||
newPointsOfInterests | Transform[] | ||
pathMemory | Transform[] | ||
pointMemory | int | ||
pointsOfInterests | Transform[] | ||
speed | float | ||
timeOfInteracting | float |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Flip ( ) : void | ||
OnTriggerEnter2D ( |
||
Update ( ) : void | ||
findPoint ( Vector3 selfPos, string layer, string tag ) : Transform | ||
findWay ( Transform target ) : void |
Method | Description | |
---|---|---|
getPoint ( ) : Transform |
public OnTriggerEnter2D ( |
||
other | ||
return | void |
public static findPoint ( Vector3 selfPos, string layer, string tag ) : Transform | ||
selfPos | Vector3 | |
layer | string | |
tag | string | |
return | Transform |