C# Class Pathfinding.RichAI

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
GizmoColorPath UnityEngine.Color
GizmoColorRaycast UnityEngine.Color
acceleration float
anim UnityEngine.Animation
centerOffset float
drawGizmos bool
endReachedDistance float
funnelSimplification RichFunnel.FunnelSimplification
gravity UnityEngine.Vector3
groundMask UnityEngine.LayerMask
maxSpeed float
preciseSlowdown bool
raycastingForGroundPlacement bool
repathRate float
repeatedlySearchPaths bool
rotationSpeed float
slowWhenNotFacingTarget bool
slowdownTime float
target UnityEngine.Transform
wallDist float
wallForce float

Protected Properties

Property Type Description
buffer List
canSearchPath bool
delayUpdatePath bool
lastCorner bool
lastRepath float
rp RichPath
seeker Seeker
tr UnityEngine.Transform
traversingSpecialPath bool
waitingForPathCalc bool
wallBuffer List

Public Methods

Method Description
Awake ( ) : void
NextPart ( ) : void
OnDisable ( ) : void
OnDrawGizmos ( ) : void
OnPathComplete ( Path p ) : void
UpdatePath ( ) : void

Protected Methods

Method Description
OnEnable ( ) : void
OnTargetReached ( ) : void
Start ( ) : void
Update ( ) : void
UpdateTarget ( RichFunnel fn ) : Vector3

Private Methods

Method Description
RaycastPosition ( Vector3 position, float lasty ) : Vector3
RotateTowards ( Vector3 trotdir ) : bool
SearchPaths ( ) : IEnumerator
TraverseSpecial ( RichSpecial rs ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

NextPart() public method

public NextPart ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

OnPathComplete() public method

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

OnTargetReached() protected method

protected OnTargetReached ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

UpdatePath() public method

public UpdatePath ( ) : void
return void

UpdateTarget() protected method

protected UpdateTarget ( RichFunnel fn ) : Vector3
fn RichFunnel
return UnityEngine.Vector3

Property Details

GizmoColorPath public_oe static_oe property

public static Color,UnityEngine GizmoColorPath
return UnityEngine.Color

GizmoColorRaycast public_oe static_oe property

public static Color,UnityEngine GizmoColorRaycast
return UnityEngine.Color

acceleration public_oe property

public float acceleration
return float

anim public_oe property

public Animation,UnityEngine anim
return UnityEngine.Animation

buffer protected_oe property

protected List buffer
return List

canSearchPath protected_oe property

protected bool canSearchPath
return bool

centerOffset public_oe property

public float centerOffset
return float

delayUpdatePath protected_oe property

protected bool delayUpdatePath
return bool

drawGizmos public_oe property

public bool drawGizmos
return bool

endReachedDistance public_oe property

public float endReachedDistance
return float

funnelSimplification public_oe property

public RichFunnel.FunnelSimplification funnelSimplification
return RichFunnel.FunnelSimplification

gravity public_oe property

public Vector3,UnityEngine gravity
return UnityEngine.Vector3

groundMask public_oe property

public LayerMask,UnityEngine groundMask
return UnityEngine.LayerMask

lastCorner protected_oe property

protected bool lastCorner
return bool

lastRepath protected_oe property

protected float lastRepath
return float

maxSpeed public_oe property

public float maxSpeed
return float

preciseSlowdown public_oe property

public bool preciseSlowdown
return bool

raycastingForGroundPlacement public_oe property

public bool raycastingForGroundPlacement
return bool

repathRate public_oe property

public float repathRate
return float

repeatedlySearchPaths public_oe property

public bool repeatedlySearchPaths
return bool

rotationSpeed public_oe property

public float rotationSpeed
return float

rp protected_oe property

protected RichPath,Pathfinding rp
return RichPath

seeker protected_oe property

protected Seeker seeker
return Seeker

slowWhenNotFacingTarget public_oe property

public bool slowWhenNotFacingTarget
return bool

slowdownTime public_oe property

public float slowdownTime
return float

target public_oe property

public Transform,UnityEngine target
return UnityEngine.Transform

tr protected_oe property

protected Transform,UnityEngine tr
return UnityEngine.Transform

traversingSpecialPath protected_oe property

protected bool traversingSpecialPath
return bool

waitingForPathCalc protected_oe property

protected bool waitingForPathCalc
return bool

wallBuffer protected_oe property

protected List wallBuffer
return List

wallDist public_oe property

public float wallDist
return float

wallForce public_oe property

public float wallForce
return float