C# Class IARobin.AgentRobinMathieu

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: benjaml/PathfindingToolUnity

Public Properties

Property Type Description
_bullets List
agent UnityEngine.NavMeshAgent
agent2 AgentRobin
errorMargin float
nearTargetCollider UnityEngine.BoxCollider
nearestTarget UnityEngine.GameObject
playerID string
targets List

Protected Properties

Property Type Description
TargetBullet UnityEngine.GameObject

Protected Methods

Method Description
ForceUpdateTargetBullet ( ) : void
ShootBullet ( ) : IEnumerator
ShootEnemy ( ) : IEnumerator
Start ( ) : void
UpdateRoadEsquive ( ) : void
UpdateRoadRandom ( ) : void
UpdateTarget ( ) : void
UpdateTargetBullet ( ) : void

Private Methods

Method Description
Gagne ( ) : void
InitStateMachine ( ) : void
OnCollisionEnter ( Collision coll ) : void
OnTriggerEnter ( Collider coll ) : void
OnTriggerExit ( Collider coll ) : void
Respawn ( ) : void
Shoot ( ) : IEnumerator
UpdateSM ( ) : void

Method Details

ForceUpdateTargetBullet() protected method

protected ForceUpdateTargetBullet ( ) : void
return void

ShootBullet() protected method

protected ShootBullet ( ) : IEnumerator
return IEnumerator

ShootEnemy() protected method

protected ShootEnemy ( ) : IEnumerator
return IEnumerator

Start() protected method

protected Start ( ) : void
return void

UpdateRoadEsquive() protected method

protected UpdateRoadEsquive ( ) : void
return void

UpdateRoadRandom() protected method

protected UpdateRoadRandom ( ) : void
return void

UpdateTarget() protected method

protected UpdateTarget ( ) : void
return void

UpdateTargetBullet() protected method

protected UpdateTargetBullet ( ) : void
return void

Property Details

TargetBullet protected property

protected GameObject,UnityEngine TargetBullet
return UnityEngine.GameObject

_bullets public property

public List _bullets
return List

agent public property

public NavMeshAgent,UnityEngine agent
return UnityEngine.NavMeshAgent

agent2 public property

public AgentRobin agent2
return AgentRobin

errorMargin public property

public float errorMargin
return float

nearTargetCollider public property

public BoxCollider,UnityEngine nearTargetCollider
return UnityEngine.BoxCollider

nearestTarget public property

public GameObject,UnityEngine nearestTarget
return UnityEngine.GameObject

playerID public static property

public static string playerID
return string

targets public property

public List targets
return List