Property | Type | Description | |
---|---|---|---|
closeEnoughRange | float | ||
patrol | Vector3[] | ||
road | List |
||
speed | float | ||
target | GameObject | ||
temp | GameObject[] |
Method | Description | |
---|---|---|
OnCollisionEnter ( Collision collision ) : void | ||
OnTriggerEnter ( Collider collider ) : void | ||
OnTriggerStay ( Collider collider ) : void | ||
Shoot ( GameObject hit ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
CalcShootAngle ( GameObject hit ) : Vector3 |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public OnTriggerEnter ( Collider collider ) : void | ||
collider | Collider | |
return | void |
public OnTriggerStay ( Collider collider ) : void | ||
collider | Collider | |
return | void |