C# Class AstarAIFollow, astrochimps

Inheritance: MonoBehaviour
Afficher le fichier Open project: arcoelho01/astrochimps Class Usage Examples

Méthodes publiques

Свойство Type Description
bnIsMoving bool
canMove bool
canSearch bool
drawGizmos bool
pickNextWaypointDistance float
repathRate float
speed float
targetReached float

Protected Properties

Свойство Type Description
col Collider
controller CharacterController
lastPathSearch float
path Vector3[]
pathIndex int
seeker Seeker,
tr Transform

Méthodes publiques

Méthode 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 méthode

public Awake ( ) : void
Résultat void

ClickedTargetPosition() public méthode

Change the target when the player clicks
public ClickedTargetPosition ( Vector3 newTargetPosition ) : void
newTargetPosition Vector3
Résultat void

OnDrawGizmos() public méthode

public OnDrawGizmos ( ) : void
Résultat void

OnPathComplete() public méthode

public OnPathComplete ( Path p ) : void
p Path
Résultat void

PathToTarget() public méthode

public PathToTarget ( Vector3 targetPoint ) : void
targetPoint Vector3
Résultat void

ReachedEndOfPath() public méthode

public ReachedEndOfPath ( ) : void
Résultat void

Repath() public méthode

public Repath ( ) : void
Résultat void

Resume() public méthode

public Resume ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

WaitToRepath() public méthode

public WaitToRepath ( ) : IEnumerator
Résultat IEnumerator

Property Details

bnIsMoving public_oe property

public bool bnIsMoving
Résultat bool

canMove public_oe property

public bool canMove
Résultat bool

canSearch public_oe property

public bool canSearch
Résultat bool

col protected_oe property

protected Collider col
Résultat Collider

controller protected_oe property

protected CharacterController controller
Résultat CharacterController

drawGizmos public_oe property

public bool drawGizmos
Résultat bool

lastPathSearch protected_oe property

protected float lastPathSearch
Résultat float

path protected_oe property

protected Vector3[] path
Résultat Vector3[]

pathIndex protected_oe property

protected int pathIndex
Résultat int

pickNextWaypointDistance public_oe property

public float pickNextWaypointDistance
Résultat float

repathRate public_oe property

public float repathRate
Résultat float

seeker protected_oe property

protected Seeker, seeker
Résultat Seeker,

speed public_oe property

public float speed
Résultat float

targetReached public_oe property

public float targetReached
Résultat float

tr protected_oe property

protected Transform tr
Résultat Transform