C# Class AgentValentinTree, PathfindingToolUnity

Inheritance: MonoBehaviour
显示文件 Open project: benjaml/PathfindingToolUnity

Public Properties

Property Type Description
cdShoot float
ennemyVisibleLol bool
initialPos Vector3
listJoueurs List
rightOrNot bool
shootAttLol bool
shootDefLol bool
target GameObject

Public Methods

Method Description
OnCollisionEnter ( Collision collision ) : void
Start ( ) : void
Update ( ) : void
canIShoot ( ) : bool
checkTree ( ) : void
chooseATarget ( ) : void
esquive ( ) : bool
isNear ( ) : bool
seePlayer ( ) : bool
seekAllOtherPlayers ( ) : void
shoot ( ) : bool
stay ( ) : bool
walk ( ) : bool

Method Details

OnCollisionEnter() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

canIShoot() public method

public canIShoot ( ) : bool
return bool

checkTree() public method

public checkTree ( ) : void
return void

chooseATarget() public method

public chooseATarget ( ) : void
return void

esquive() public method

public esquive ( ) : bool
return bool

isNear() public method

public isNear ( ) : bool
return bool

seePlayer() public method

public seePlayer ( ) : bool
return bool

seekAllOtherPlayers() public method

public seekAllOtherPlayers ( ) : void
return void

shoot() public method

public shoot ( ) : bool
return bool

stay() public method

public stay ( ) : bool
return bool

walk() public method

public walk ( ) : bool
return bool

Property Details

cdShoot public_oe property

public float cdShoot
return float

ennemyVisibleLol public_oe property

public bool ennemyVisibleLol
return bool

initialPos public_oe property

public Vector3 initialPos
return Vector3

listJoueurs public_oe property

public List listJoueurs
return List

rightOrNot public_oe property

public bool rightOrNot
return bool

shootAttLol public_oe property

public bool shootAttLol
return bool

shootDefLol public_oe property

public bool shootDefLol
return bool

target public_oe property

public GameObject target
return GameObject