Property | Type | Description | |
---|---|---|---|
bullet | GameObject | ||
bulletSpeed | float | ||
closeEnoughRange | float | ||
currentTarget | Vector3 | ||
fireRate | float | ||
graph | Pathfinding, | ||
lastFire | float | ||
road | List |
||
sm | StateMachine | ||
speed | float | ||
target | GameObject | ||
targets | List |
Method | Description | |
---|---|---|
Fire ( ) : void | ||
OnCollisionEnter ( Collision col ) : void | ||
OnDrawGizmosSelected ( ) : void | ||
RefreshTargets ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
UpdateRoad ( ) : void | ||
fireRoutine ( ) : IEnumerator |
Method | Description | |
---|---|---|
GetTarget ( ) : GameObject |
public OnCollisionEnter ( Collision col ) : void | ||
col | Collision | |
return | void |