Property | Type | Description | |
---|---|---|---|
AttackTarget | Transform | ||
GoalDistance | float | ||
Path | PathDefinition, | ||
attackCool | bool | ||
cooldown | float |
Method | Description | |
---|---|---|
Attack ( ) : void | ||
Patrol ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
ChanceOfAttack ( float targetDistance ) : float | ||
cooloff ( ) : IEnumerator |