Class
AIPath
: AIBase : VersionedMonoBehaviour : MonoBehaviour : Behaviour : Component : Object : Objectimplements IAstarAI
0x00x0168
Members 13
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | maxAcceleration | float | Public | — | |
| 0x04 | rotationSpeed | float | Public | — | |
| 0x04 | slowdownDistance | float | Public | — | |
| 0x04 | pickNextWaypointDist | float | Public | — | |
| 0x04 | endReachedDistance | float | Public | — | |
| 0x01 | alwaysDrawGizmos | bool | Public | — | |
| 0x01 | slowWhenNotFacingTarget | bool | Public | — | |
| 0x0146 | 0x02 | padding / unreflected | |||
| 0x04 | whenCloseToDestination | CloseToDestinationMode | Public | — | |
| 0x01 | constrainInsideGraph | bool | Public | — | |
| 0x014D | 0x03 | padding / unreflected | |||
| 0x08 | path | Path | 1 flags | — | |
| 0x08 | interpolator | PathInterpolator | 1 flags | — | |
| 0x01 | <reachedEndOfPath>k__BackingField | bool | Private | — | |
| 0x08 | cachedNNConstraint | NNConstraint | PrivateStatic | — | |
| 0x0161 | 0x07 | unreflected bytes to end of AIPath | |||
Inherited from AIBase 39
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | radius | float | Public | — | |
| 0x04 | height | float | Public | — | |
| 0x01 | canMove | bool | Public | — | |
| 0x0031 | 0x03 | padding / unreflected | |||
| 0x04 | maxSpeed | float | Public | — | |
| 0x0C | gravity | Vector3 | Public | — | |
| 0x04 | groundMask | LayerMask | Public | — | |
| 0x04 | centerOffsetCompatibility | float | Private | — | |
| 0x04 | repathRateCompatibility | float | Private | — | |
| 0x01 | canSearchCompability | bool | Private | — | |
| 0x0051 | 0x03 | padding / unreflected | |||
| 0x04 | orientation | OrientationMode | Public | — | |
| 0x01 | enableRotation | bool | Public | — | |
| 0x0059 | 0x03 | padding / unreflected | |||
| 0x0C | simulatedPosition | Vector3 | 1 flags | — | |
| 0x10 | simulatedRotation | Quaternion | 1 flags | — | |
| 0x0C | accumulatedMovementDelta | Vector3 | Private | — | |
| 0x08 | velocity2D | Vector2 | 1 flags | — | |
| 0x04 | verticalVelocity | float | 1 flags | — | |
| 0x08 | seeker | Seeker | 1 flags | — | |
| 0x08 | tr | Transform | 1 flags | — | |
| 0x08 | rigid | Rigidbody | 1 flags | — | |
| 0x08 | rigid2D | Rigidbody2D | 1 flags | — | |
| 0x08 | controller | CharacterController | 1 flags | — | |
| 0x08 | rvoController | RVOController | 1 flags | — | |
| 0x08 | movementPlane | IMovementPlane | Public | — | |
| 0x01 | updatePosition | bool | Public+1 flags | — | |
| 0x01 | updateRotation | bool | Public+1 flags | — | |
| 0x00CA | 0x06 | padding / unreflected | |||
| 0x08 | autoRepath | AutoRepathPolicy | Public | — | |
| 0x01 | <usingGravity>k__BackingField | bool | Private | — | |
| 0x00D9 | 0x03 | padding / unreflected | |||
| 0x04 | lastDeltaTime | float | 1 flags | — | |
| 0x04 | prevFrame | int | 1 flags | — | |
| 0x0C | prevPosition1 | Vector3 | 1 flags | — | |
| 0x0C | prevPosition2 | Vector3 | 1 flags | — | |
| 0x08 | lastDeltaPosition | Vector2 | 1 flags | — | |
| 0x01 | waitingForPathCalculation | bool | 1 flags | — | |
| 0x0105 | 0x03 | padding / unreflected | |||
| 0x08 | targetCompatibility | Transform | Private | — | |
| 0x01 | startHasRun | bool | Private | — | |
| 0x0111 | 0x03 | padding / unreflected | |||
| 0x0C | <destination>k__BackingField | Vector3 | Private | — | |
| 0x01 | <isStopped>k__BackingField | bool | Private | — | |
| 0x0121 | 0x07 | padding / unreflected | |||
| 0x08 | <onSearchPath>k__BackingField | Action | Private | — | |
| 0x10 | ShapeGizmoColor | Color | PublicStatic+1 flags | — | |
Inherited from VersionedMonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | version | int | Private | — |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 36
| Signature | Flags | Native | Params |
|---|---|---|---|
| void Teleport(const Vector3& newPosition, bool clearPath) | Public+1 flags | 0x0C | |
| float get_remainingDistance() | PublicFinal+3 flags | 0x04 | |
| bool get_reachedDestination() | PublicFinal+3 flags | 0x01 | |
| bool get_reachedEndOfPath() | PublicFinal+3 flags | 0x01 | |
| void set_reachedEndOfPath(bool value) | 2 flags | 0x01 | |
| bool get_hasPath() | PublicFinal+3 flags | 0x01 | |
| bool get_pathPending() | PublicFinal+3 flags | 0x01 | |
| Vector3 get_steeringTarget() | PublicFinal+3 flags | 0x0C | |
| float Pathfinding.IAstarAI.get_radius() | PrivateFinal+3 flags | 0x04 | |
| void Pathfinding.IAstarAI.set_radius(float value) | PrivateFinal+3 flags | 0x04 | |
| float Pathfinding.IAstarAI.get_height() | PrivateFinal+3 flags | 0x04 | |
| void Pathfinding.IAstarAI.set_height(float value) | PrivateFinal+3 flags | 0x04 | |
| float Pathfinding.IAstarAI.get_maxSpeed() | PrivateFinal+3 flags | 0x04 | |
| void Pathfinding.IAstarAI.set_maxSpeed(float value) | PrivateFinal+3 flags | 0x04 | |
| bool Pathfinding.IAstarAI.get_canSearch() | PrivateFinal+3 flags | 0x01 | |
| void Pathfinding.IAstarAI.set_canSearch(bool value) | PrivateFinal+3 flags | 0x01 | |
| bool Pathfinding.IAstarAI.get_canMove() | PrivateFinal+3 flags | 0x01 | |
| void Pathfinding.IAstarAI.set_canMove(bool value) | PrivateFinal+3 flags | 0x01 | |
| void GetRemainingPath(List<UnityEngine.Vector3> buffer, ref bool& stale) | PublicFinal+2 flags | 0x08 | |
| void OnDisable() | 2 flags | 0x00 | |
| void OnTargetReached() | Public+2 flags | 0x00 | |
| void OnPathComplete(Path newPath) | 2 flags | 0x08 | |
| void ClearPath() | 2 flags | 0x00 | |
| void MovementUpdateInternal(float deltaTime, ref Vector3& nextPosition, ref Quaternion& nextRotation) | 2 flags | 0x10 | |
| void CalculateNextRotation(float slowdown, ref Quaternion& nextRotation) | 3 flags | 0x10 | |
| Vector3 ClampToNavmesh(const Vector3& position, ref bool& positionChanged) | 2 flags | 0x0C | |
| int OnUpgradeSerializedData(int version, bool unityThread) | 2 flags | 0x04 | |
| bool get_TargetReached() | Public+1 flags | 0x01 | |
| float get_turningSpeed() | Public+1 flags | 0x04 | |
| void set_turningSpeed(float value) | Public+1 flags | 0x04 | |
| float get_speed() | Public+1 flags | 0x04 | |
| void set_speed(float value) | Public+1 flags | 0x04 | |
| Vector3 get_targetDirection() | Public+1 flags | 0x0C | |
| Vector3 CalculateVelocity(const Vector3& position) | Public | 0x0C | |
| void .ctor() | Public+1 flags | 0x00 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |