C# Class AstarAIFollow, astrochimps

Inheritance: MonoBehaviour
Mostra file Open project: arcoelho01/astrochimps Class Usage Examples

Public Properties

Property Type Description
bnIsMoving bool
canMove bool
canSearch bool
drawGizmos bool
pickNextWaypointDistance float
repathRate float
speed float
targetReached float

Protected Properties

Property Type Description
col Collider
controller CharacterController
lastPathSearch float
path Vector3[]
pathIndex int
seeker Seeker,
tr Transform

Public Methods

Method Description
Awake ( ) : void
ClickedTargetPosition ( Vector3 newTargetPosition ) : void

Change the target when the player clicks

OnDrawGizmos ( ) : void
OnPathComplete ( Path p ) : void
PathToTarget ( Vector3 targetPoint ) : void
ReachedEndOfPath ( ) : void
Repath ( ) : void
Resume ( ) : void
Stop ( ) : void
Update ( ) : void
WaitToRepath ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

ClickedTargetPosition() public method

Change the target when the player clicks
public ClickedTargetPosition ( Vector3 newTargetPosition ) : void
newTargetPosition Vector3
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnPathComplete() public method

public OnPathComplete ( Path p ) : void
p Path
return void

PathToTarget() public method

public PathToTarget ( Vector3 targetPoint ) : void
targetPoint Vector3
return void

ReachedEndOfPath() public method

public ReachedEndOfPath ( ) : void
return void

Repath() public method

public Repath ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Update() public method

public Update ( ) : void
return void

WaitToRepath() public method

public WaitToRepath ( ) : IEnumerator
return IEnumerator

Property Details

bnIsMoving public_oe property

public bool bnIsMoving
return bool

canMove public_oe property

public bool canMove
return bool

canSearch public_oe property

public bool canSearch
return bool

col protected_oe property

protected Collider col
return Collider

controller protected_oe property

protected CharacterController controller
return CharacterController

drawGizmos public_oe property

public bool drawGizmos
return bool

lastPathSearch protected_oe property

protected float lastPathSearch
return float

path protected_oe property

protected Vector3[] path
return Vector3[]

pathIndex protected_oe property

protected int pathIndex
return int

pickNextWaypointDistance public_oe property

public float pickNextWaypointDistance
return float

repathRate public_oe property

public float repathRate
return float

seeker protected_oe property

protected Seeker, seeker
return Seeker,

speed public_oe property

public float speed
return float

targetReached public_oe property

public float targetReached
return float

tr protected_oe property

protected Transform tr
return Transform