C# Class AgentLefevreBT, PathfindingToolUnity

Inheritance: MonoBehaviour
Mostrar archivo Open project: benjaml/PathfindingToolUnity Class Usage Examples

Public Properties

Property 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

Public Methods

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

Private Methods

Method Description
fireRoutine ( ) : IEnumerator

Method Details

Fire() public method

public Fire ( ) : bool
return bool

OnCollisionEnter() public method

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

OnDrawGizmosSelected() public method

public OnDrawGizmosSelected ( ) : void
return void

RefreshTargets() public method

public RefreshTargets ( ) : void
return void

Respawn() public method

public Respawn ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateRoad() public method

public UpdateRoad ( ) : void
return void

Property Details

agent public_oe property

public NavMeshAgent,UnityEngine agent
return UnityEngine.NavMeshAgent

bullet public_oe property

public GameObject bullet
return GameObject

closeEnoughRange public_oe property

public float closeEnoughRange
return float

currentTarget public_oe property

public Vector3 currentTarget
return Vector3

fireRate public_oe property

public float fireRate
return float

graph public_oe property

public Pathfinding, graph
return Pathfinding,

lastFire public_oe property

public float lastFire
return float

road public_oe property

public List road
return List

speed public_oe property

public float speed
return float

target public_oe property

public GameObject target
return GameObject

targets public_oe property

public List targets
return List