Property | Type | Description | |
---|---|---|---|
pathFollowSpeed | float | ||
playerChaseSpeed | float | ||
playerDist | float | ||
state | State, | ||
target | GameObject |
Method | Description | |
---|---|---|
OnCollisionEnter2D ( Collision2D collision ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
Seek ( GameObject s ) : Vector2 |
public OnCollisionEnter2D ( Collision2D collision ) : void | ||
collision | Collision2D | |
return | void |