C# Class AIFollow, TheUnseen

Inheritance: MonoBehaviour
显示文件 Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
canMove bool
canSearch bool
drawGizmos bool
pickNextWaypointDistance float
repathRate float
rotationSpeed float
speed float
target Transform
targetReached float

Protected Properties

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

Public Methods

Method Description
OnDrawGizmos ( ) : void
OnPathComplete ( Path, p ) : void
PathToTarget ( Vector3 targetPoint ) : void
ReachedEndOfPath ( ) : void
Repath ( ) : void
Reset ( ) : void
Resume ( ) : void
Start ( ) : void
Stop ( ) : void
Update ( ) : void
WaitToRepath ( ) : IEnumerator

Method Details

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

Reset() public method

public Reset ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

Start() public method

public Start ( ) : 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

canMove public_oe property

public bool canMove
return bool

canSearch public_oe property

public bool canSearch
return bool

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

navmeshController protected_oe property

protected NavmeshController, navmeshController
return NavmeshController,

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

rotationSpeed public_oe property

public float rotationSpeed
return float

seeker protected_oe property

protected Seeker, seeker
return Seeker,

speed public_oe property

public float speed
return float

target public_oe property

public Transform target
return Transform

targetReached public_oe property

public float targetReached
return float

tr protected_oe property

protected Transform tr
return Transform