Class TargetMover Extends VersionedMonoBehaviour
Public
Moves the target in example scenes.
This is a simple script which has the sole purpose of moving the target point of agents in the example scenes for the A* Pathfinding Project.
It is not meant to be pretty, but it does the job.
Public Methods
Public Variables
clickEffect
Public
formationMode
Public
mask
Mask for the raycast placement.
Public
target
Public
trigger
Public
use2D
Public
Public Enums
Trigger
Public
Private/Protected Members
OptimizeFormationDestinations
(ais, destinations)
Swap the destinations of pairs of agents if it reduces the total distance they need to travel.
cam
Private
onlyOnDoubleClick
Determines if the target position should be updated every frame or only on double-click.
Private