C# Class AgentAntoine, PathfindingToolUnity

Inheritance: MonoBehaviour
Datei anzeigen 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_oe property

public Vector3 SpawnPos
return Vector3

bro1 public_oe property

public GameObject bro1
return GameObject

bro2 public_oe property

public GameObject bro2
return GameObject

bullet public_oe property

public GameObject bullet
return GameObject

closeEnoughRange public_oe property

public float closeEnoughRange
return float

cube public_oe property

public Material cube
return Material

currentEnemy public_oe property

public GameObject currentEnemy
return GameObject

enemies public_oe property

public GameObject[] enemies
return GameObject[]

lastShoot public_oe property

public float lastShoot
return float

nodes public_oe property

public GameObject nodes
return GameObject

points public_oe property

public GameObject[] points
return GameObject[]

rate public_oe property

public float rate
return float

road public_oe property

public List road
return List

spawnBullet public_oe property

public GameObject spawnBullet
return GameObject

spawnBulletRotation public_oe property

public GameObject spawnBulletRotation
return GameObject

speed public_oe property

public float speed
return float

target public_oe property

public GameObject target
return GameObject