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

OnGUI ()
Public
Start ()
Public
UpdateTargetPosition ()
Public

Public Variables

clickEffect
Public
mask

Mask for the raycast placement.

Public
target
Public
trigger
Public
use2D
Public

Public Enums

Trigger
Public

Private/Protected Members

Awake ()
Protected
OnUpgradeSerializedData (version, unityThread)

Handle serialization backwards compatibility.

Protected
Reset ()

Handle serialization backwards compatibility.

Protected
Update ()

Update is called once per frame.

Private
UpgradeSerializedData (isUnityThread)
Protected
cam
Private
onlyOnDoubleClick

Determines if the target position should be updated every frame or only on double-click.

Private