Property | Type | Description | |
---|---|---|---|
bullet | GameObject | ||
destination | Vector3 | ||
lastTargetPos | Vector3 | ||
startShoot | float | ||
target | GameObject | ||
targetPos | Vector3 | ||
targets | List |
||
thereIsBullet | bool |
Method | Description | |
---|---|---|
Instantiation ( ) : GameObject | ||
OnCollisionEnter ( Collision collision ) : void | ||
OnTriggerStay ( Collider collider ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
CanDogge ( ) : bool | ||
CanShoot ( ) : bool | ||
CoolDownDelay ( ) : bool | ||
EnemyNotSpotted ( ) : bool | ||
EnemySpotted ( ) : bool | ||
HasDogge ( ) : bool |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public OnTriggerStay ( Collider collider ) : void | ||
collider | Collider | |
return | void |