A* Pathfinding Project  4.3.2
The A* Pathfinding Project for Unity 3D
FindClosestUnit Class Reference

Public Member Functions

 FindClosestUnit (RTSUnit.Type type)
- Public Member Functions inherited from BTNode
void Terminate (BTContext ctx)
Status Tick (BTContext ctx)

Public Attributes

bool reserve
Value< RTSUnittarget

Protected Member Functions

override Status DoTick (BTContext ctx)
override void OnTerminate (BTContext ctx)
- Protected Member Functions inherited from BTNode
virtual void OnInit (BTContext ctx)

Private Member Functions

RTSUnit FindClosest (Vector3 point)

Private Attributes

RTSUnit.Type type

Additional Inherited Members

- Protected Attributes inherited from BTNode
Status lastStatus

Constructor & Destructor Documentation

◆ FindClosestUnit()

Member Function Documentation

◆ DoTick()

override Status DoTick ( BTContext  ctx)

Implements BTNode.

◆ FindClosest()

RTSUnit FindClosest ( Vector3  point)

◆ OnTerminate()

override void OnTerminate ( BTContext  ctx)

Reimplemented from BTNode.

Member Data Documentation

◆ reserve

bool reserve

◆ target

Value<RTSUnit> target

◆ type

RTSUnit.Type type

The documentation for this class was generated from the following file: