Свойство | Тип | Описание | |
---|---|---|---|
bullet | GameObject | ||
bulletSpeed | float | ||
closeEnoughRange | float | ||
currentTarget | Vector3 | ||
fireRate | float | ||
graph | Pathfinding, | ||
lastFire | float | ||
road | List |
||
sm | StateMachine | ||
speed | float | ||
target | GameObject | ||
targets | List |
Метод | Описание | |
---|---|---|
Fire ( ) : void | ||
OnCollisionEnter ( Collision col ) : void | ||
OnDrawGizmosSelected ( ) : void | ||
RefreshTargets ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
UpdateRoad ( ) : void | ||
fireRoutine ( ) : IEnumerator |
Метод | Описание | |
---|---|---|
GetTarget ( ) : GameObject |
public OnCollisionEnter ( Collision col ) : void | ||
col | Collision | |
Результат | void |