C# Class AgentLefevreBT, PathfindingToolUnity

Inheritance: MonoBehaviour
Afficher le fichier Open project: benjaml/PathfindingToolUnity Class Usage Examples

Méthodes publiques

Свойство Type Description
agent UnityEngine.NavMeshAgent
bullet GameObject
closeEnoughRange float
currentTarget Vector3
fireRate float
graph Pathfinding,
lastFire float
road List
speed float
target GameObject
targets List

Méthodes publiques

Méthode Description
Fire ( ) : bool
OnCollisionEnter ( Collision col ) : void
OnDrawGizmosSelected ( ) : void
RefreshTargets ( ) : void
Respawn ( ) : void
Start ( ) : void
Update ( ) : void
UpdateRoad ( ) : void

Private Methods

Méthode Description
fireRoutine ( ) : IEnumerator

Method Details

Fire() public méthode

public Fire ( ) : bool
Résultat bool

OnCollisionEnter() public méthode

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

OnDrawGizmosSelected() public méthode

public OnDrawGizmosSelected ( ) : void
Résultat void

RefreshTargets() public méthode

public RefreshTargets ( ) : void
Résultat void

Respawn() public méthode

public Respawn ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateRoad() public méthode

public UpdateRoad ( ) : void
Résultat void

Property Details

agent public_oe property

public NavMeshAgent,UnityEngine agent
Résultat UnityEngine.NavMeshAgent

bullet public_oe property

public GameObject bullet
Résultat GameObject

closeEnoughRange public_oe property

public float closeEnoughRange
Résultat float

currentTarget public_oe property

public Vector3 currentTarget
Résultat Vector3

fireRate public_oe property

public float fireRate
Résultat float

graph public_oe property

public Pathfinding, graph
Résultat Pathfinding,

lastFire public_oe property

public float lastFire
Résultat float

road public_oe property

public List road
Résultat List

speed public_oe property

public float speed
Résultat float

target public_oe property

public GameObject target
Résultat GameObject

targets public_oe property

public List targets
Résultat List