Class TargetMover Extends MonoBehaviour
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
OnGUI
()
Public
Start
()
Public
UpdateTargetPosition
()
Public
Public Variables
mask
Mask for the raycast placement.
Public
onlyOnDoubleClick
Determines if the target position should be updated every frame or only on double-click.
Public
target
Public
use2D
Public
Private/Protected Members
cam
Private
Update
()
Update is called once per frame.
Private