C# Class RodrigueAgent, PathfindingToolUnity

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

Public Properties

Property Type Description
canShoot bool
currentTarget GameObject
interestPoints List
isDodging bool
listOfBullets List
listOfFriends List
listOfTarget List
navMeshAgent UnityEngine.NavMeshAgent
nbOfDeath int
rateOfFire float
spawnPoint Vector3
targetPossible GameObject[]
teamName string
timeSinLastShot float

Public Methods

Method Description
Active ( ) : bool
ChangeTarget ( ) : void
FindTarget ( ) : void
GetTarget ( ) : void
Idle ( ) : void
Patrol ( ) : void
Regroup ( ) : void
SearchAndDestroy ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
Shoot ( GameObject target ) : IEnumerator

Method Details

Active() public method

public Active ( ) : bool
return bool

ChangeTarget() public method

public ChangeTarget ( ) : void
return void

FindTarget() public method

public FindTarget ( ) : void
return void

GetTarget() public method

public GetTarget ( ) : void
return void

Idle() public method

public Idle ( ) : void
return void

Patrol() public method

public Patrol ( ) : void
return void

Regroup() public method

public Regroup ( ) : void
return void

SearchAndDestroy() public method

public SearchAndDestroy ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

canShoot public_oe property

public bool canShoot
return bool

currentTarget public_oe property

public GameObject currentTarget
return GameObject

interestPoints public_oe property

public List interestPoints
return List

isDodging public_oe property

public bool isDodging
return bool

listOfBullets public_oe property

public List listOfBullets
return List

listOfFriends public_oe property

public List listOfFriends
return List

listOfTarget public_oe property

public List listOfTarget
return List

navMeshAgent public_oe property

public NavMeshAgent,UnityEngine navMeshAgent
return UnityEngine.NavMeshAgent

nbOfDeath public_oe property

public int nbOfDeath
return int

rateOfFire public_oe property

public float rateOfFire
return float

spawnPoint public_oe property

public Vector3 spawnPoint
return Vector3

targetPossible public_oe property

public GameObject[] targetPossible
return GameObject[]

teamName public_oe property

public string teamName
return string

timeSinLastShot public_oe property

public float timeSinLastShot
return float