Property | Type | Description | |
---|---|---|---|
callback | VoidMethod | ||
distanceToTarget | float | ||
hasTarget | bool | ||
status | Status | ||
target | Transform | ||
targetPos | Vector3 |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
FixedUpdate ( ) : void | ||
OnPathComplete ( Path, p ) : void | ||
startMoving ( GameObject target, VoidMethod callback = null ) : void | ||
stopUnit ( ) : void |
Method | Description | |
---|---|---|
targetReached ( float distanceToTarget ) : bool |
public startMoving ( GameObject target, VoidMethod callback = null ) : void | ||
target | GameObject | |
callback | VoidMethod | |
return | void |