A* Pathfinding Project
4.1.18
The A* Pathfinding Project for Unity 3D
|
Public Member Functions | |
void | AddUnit (RTSUnit unit) |
void | MoveGroupTo (List< RTSUnit > group, Vector3 destination, bool userOrder, MovementMode mode) |
void | OnDeselected (RTSUnit unit) |
void | OnSelected (RTSUnit unit) |
void | RemoveUnit (RTSUnit unit) |
Public Attributes | |
Camera | cam |
readonly List< RTSUnit > | selectedUnits = new List<RTSUnit>() |
readonly List< RTSUnit > | units = new List<RTSUnit>() |
Static Public Attributes | |
static RTSUnitManager | active |
Properties | |
RTSUnit | activeUnit [get, set] |
Private Member Functions | |
void | Awake () |
void | OnDestroy () |
Private Attributes | |
RTSUnit | mActiveUnit |
void AddUnit | ( | RTSUnit | unit | ) |
|
private |
void MoveGroupTo | ( | List< RTSUnit > | group, |
Vector3 | destination, | ||
bool | userOrder, | ||
MovementMode | mode | ||
) |
void OnDeselected | ( | RTSUnit | unit | ) |
|
private |
void OnSelected | ( | RTSUnit | unit | ) |
void RemoveUnit | ( | RTSUnit | unit | ) |
|
static |
Camera cam |
|
private |
|
getset |