Property | Type | Description | |
---|---|---|---|
anim | Animator | ||
currentCoolDown | float | ||
myTarget | Vector3 | ||
myTargetShoot | GameObject | ||
pointOfInterest | List |
||
points | Transform[] | ||
targets | List |
Method | Description | |
---|---|---|
FindTarget ( ) : void | ||
FindTargets ( ) : void | ||
MoveToTarget ( ) : void | ||
OnCollisionEnter ( Collision otherCollider ) : void | ||
Shoot ( GameObject _target ) : void | ||
Start ( ) : void | ||
SwitchPosition ( ) : void | ||
Update ( ) : void |
public OnCollisionEnter ( Collision otherCollider ) : void | ||
otherCollider | Collision | |
return | void |