C# Class AgentAntoine, PathfindingToolUnity

Inheritance: MonoBehaviour
Show file Open project: benjaml/PathfindingToolUnity

Public Properties

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

Public Methods

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

Private Methods

Method Description
Esquive ( Vector3 v ) : IEnumerator

Method Details

ChangeColor() public method

public ChangeColor ( ) : void
return void

DelegateChase() public method

public DelegateChase ( ) : bool
return bool

DelegateDistance() public method

public DelegateDistance ( ) : bool
return bool

DelegateDodge() public method

public DelegateDodge ( ) : bool
return bool

DelegateInvertBool() public method

public DelegateInvertBool ( bool inBool ) : bool
inBool bool
return bool

DelegatePatrol() public method

public DelegatePatrol ( ) : bool
return bool

Dodge() public method

public Dodge ( Vector3 pos, Vector3 v, Vector3 forward ) : void
pos Vector3
v Vector3
forward Vector3
return void

FindNewTarget() public method

public FindNewTarget ( ) : void
return void

GetCanShoot() public method

public GetCanShoot ( ) : bool
return bool

GetCanShootDelegate() public method

public GetCanShootDelegate ( ) : bool
return bool

HaveShoot() public method

public HaveShoot ( ) : bool
return bool

HaveTarget() public method

public HaveTarget ( ) : bool
return bool

OnCollisionEnter() public method

public OnCollisionEnter ( Collision other ) : void
other Collision
return void

ShootBullet() public method

public ShootBullet ( ) : bool
return bool

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

SpawnPos public property

public Vector3 SpawnPos
return Vector3

bro1 public property

public GameObject bro1
return GameObject

bro2 public property

public GameObject bro2
return GameObject

bullet public property

public GameObject bullet
return GameObject

closeEnoughRange public property

public float closeEnoughRange
return float

cube public property

public Material cube
return Material

currentEnemy public property

public GameObject currentEnemy
return GameObject

enemies public property

public GameObject[] enemies
return GameObject[]

lastShoot public property

public float lastShoot
return float

nodes public property

public GameObject nodes
return GameObject

points public property

public GameObject[] points
return GameObject[]

rate public property

public float rate
return float

road public property

public List road
return List

spawnBullet public property

public GameObject spawnBullet
return GameObject

spawnBulletRotation public property

public GameObject spawnBulletRotation
return GameObject

speed public property

public float speed
return float

target public property

public GameObject target
return GameObject