C# Class AgentAntoine, PathfindingToolUnity

Inheritance: MonoBehaviour
Afficher le fichier Open project: benjaml/PathfindingToolUnity

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode Description
Esquive ( Vector3 v ) : IEnumerator

Method Details

ChangeColor() public méthode

public ChangeColor ( ) : void
Résultat void

DelegateChase() public méthode

public DelegateChase ( ) : bool
Résultat bool

DelegateDistance() public méthode

public DelegateDistance ( ) : bool
Résultat bool

DelegateDodge() public méthode

public DelegateDodge ( ) : bool
Résultat bool

DelegateInvertBool() public méthode

public DelegateInvertBool ( bool inBool ) : bool
inBool bool
Résultat bool

DelegatePatrol() public méthode

public DelegatePatrol ( ) : bool
Résultat bool

Dodge() public méthode

public Dodge ( Vector3 pos, Vector3 v, Vector3 forward ) : void
pos Vector3
v Vector3
forward Vector3
Résultat void

FindNewTarget() public méthode

public FindNewTarget ( ) : void
Résultat void

GetCanShoot() public méthode

public GetCanShoot ( ) : bool
Résultat bool

GetCanShootDelegate() public méthode

public GetCanShootDelegate ( ) : bool
Résultat bool

HaveShoot() public méthode

public HaveShoot ( ) : bool
Résultat bool

HaveTarget() public méthode

public HaveTarget ( ) : bool
Résultat bool

OnCollisionEnter() public méthode

public OnCollisionEnter ( Collision other ) : void
other Collision
Résultat void

ShootBullet() public méthode

public ShootBullet ( ) : bool
Résultat bool

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

SpawnPos public_oe property

public Vector3 SpawnPos
Résultat Vector3

bro1 public_oe property

public GameObject bro1
Résultat GameObject

bro2 public_oe property

public GameObject bro2
Résultat GameObject

bullet public_oe property

public GameObject bullet
Résultat GameObject

closeEnoughRange public_oe property

public float closeEnoughRange
Résultat float

cube public_oe property

public Material cube
Résultat Material

currentEnemy public_oe property

public GameObject currentEnemy
Résultat GameObject

enemies public_oe property

public GameObject[] enemies
Résultat GameObject[]

lastShoot public_oe property

public float lastShoot
Résultat float

nodes public_oe property

public GameObject nodes
Résultat GameObject

points public_oe property

public GameObject[] points
Résultat GameObject[]

rate public_oe property

public float rate
Résultat float

road public_oe property

public List road
Résultat List

spawnBullet public_oe property

public GameObject spawnBullet
Résultat GameObject

spawnBulletRotation public_oe property

public GameObject spawnBulletRotation
Résultat GameObject

speed public_oe property

public float speed
Résultat float

target public_oe property

public GameObject target
Résultat GameObject