Property | Type | Description | |
---|---|---|---|
SpawnPos | Vector3 | ||
bro1 | GameObject | ||
bro2 | GameObject | ||
bullet | GameObject | ||
closeEnoughRange | float | ||
cube | Material | ||
currentEnemy | GameObject | ||
enemies | GameObject[] | ||
lastShoot | float | ||
nodes | GameObject | ||
points | GameObject[] | ||
rate | float | ||
road | List |
||
spawnBullet | GameObject | ||
spawnBulletRotation | GameObject | ||
speed | float | ||
target | GameObject |
Method | Description | |
---|---|---|
ChangeColor ( ) : void | ||
DelegateChase ( ) : bool | ||
DelegateDistance ( ) : bool | ||
DelegateDodge ( ) : bool | ||
DelegateInvertBool ( bool inBool ) : bool | ||
DelegatePatrol ( ) : bool | ||
Dodge ( Vector3 pos, Vector3 v, Vector3 forward ) : void | ||
FindNewTarget ( ) : void | ||
GetCanShoot ( ) : bool | ||
GetCanShootDelegate ( ) : bool | ||
HaveShoot ( ) : bool | ||
HaveTarget ( ) : bool | ||
OnCollisionEnter ( Collision other ) : void | ||
ShootBullet ( ) : bool | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
Esquive ( Vector3 v ) : IEnumerator |
public DelegateInvertBool ( bool inBool ) : bool | ||
inBool | bool | |
return | bool |
public Dodge ( Vector3 pos, Vector3 v, Vector3 forward ) : void | ||
pos | Vector3 | |
v | Vector3 | |
forward | Vector3 | |
return | void |
public OnCollisionEnter ( Collision other ) : void | ||
other | Collision | |
return | void |