C# Class AgentLefevre, PathfindingToolUnity

Inheritance: MonoBehaviour
Exibir arquivo Open project: benjaml/PathfindingToolUnity Class Usage Examples

Public Properties

Property Type Description
bullet GameObject
bulletSpeed float
closeEnoughRange float
currentTarget Vector3
fireRate float
graph Pathfinding,
lastFire float
road List
sm StateMachine
speed float
target GameObject
targets List

Public Methods

Method Description
Fire ( ) : void
OnCollisionEnter ( Collision col ) : void
OnDrawGizmosSelected ( ) : void
RefreshTargets ( ) : void
Start ( ) : void
Update ( ) : void
UpdateRoad ( ) : void
fireRoutine ( ) : IEnumerator

Private Methods

Method Description
GetTarget ( ) : GameObject

Method Details

Fire() public method

public Fire ( ) : void
return void

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateRoad() public method

public UpdateRoad ( ) : void
return void

fireRoutine() public method

public fireRoutine ( ) : IEnumerator
return IEnumerator

Property Details

bullet public_oe property

public GameObject bullet
return GameObject

bulletSpeed public_oe property

public float bulletSpeed
return float

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

sm public_oe property

public StateMachine sm
return StateMachine

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