C# Class AgentChef, PathfindingToolUnity

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

Public Properties

Property Type Description
anim Animator
currentCoolDown float
myTarget Vector3
myTargetShoot GameObject
pointOfInterest List
points Transform[]
targets List

Public Methods

Method Description
FindTarget ( ) : void
FindTargets ( ) : void
MoveToTarget ( ) : void
OnCollisionEnter ( Collision otherCollider ) : void
Shoot ( GameObject _target ) : void
Start ( ) : void
SwitchPosition ( ) : void
Update ( ) : void

Method Details

FindTarget() public method

public FindTarget ( ) : void
return void

FindTargets() public method

public FindTargets ( ) : void
return void

MoveToTarget() public method

public MoveToTarget ( ) : void
return void

OnCollisionEnter() public method

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

Shoot() public method

public Shoot ( GameObject _target ) : void
_target GameObject
return void

Start() public method

public Start ( ) : void
return void

SwitchPosition() public method

public SwitchPosition ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

anim public_oe property

public Animator anim
return Animator

currentCoolDown public_oe property

public float currentCoolDown
return float

myTarget public_oe property

public Vector3 myTarget
return Vector3

myTargetShoot public_oe property

public GameObject myTargetShoot
return GameObject

pointOfInterest public_oe property

public List pointOfInterest
return List

points public_oe property

public Transform[] points
return Transform[]

targets public_oe property

public List targets
return List