Class NodeLink Extends GraphModifier

Public

Connects two nodes with a direct connection.

It is not possible to detect this link when following a path (which may be good or bad), for that you can use NodeLink2.

Public Methods

Apply ()
Public
InternalOnPostScan ()
Public
OnDrawGizmos ()
Public
OnGraphsPostUpdate ()

Called after graphs have been updated using GraphUpdateObjects.

Public
OnPostScan ()

Called right after all graphs have been scanned.

Public

Public Variables

End
Public
Start
Public
costFactor

The connection will be this times harder/slower to traverse.

Public
deleteConnection

Delete existing connection instead of adding one.

Public
end

End position of the link.

Public
oneWay

Make a one-way connection.

Public

Inherited Public Members

EventType

GraphModifier event type.

Public
FindAllModifiers ()
Public Static
OnGraphsPreUpdate ()

Called before graphs are updated using GraphUpdateObjects.

Public
OnLatePostScan ()

Called at the end of the scanning procedure.

Public
OnPostCacheLoad ()

Called after cached graphs have been loaded.

Public
OnPreScan ()

Called right before graphs are going to be scanned.

Public
TriggerEvent (type)

Triggers an event for all active graph modifiers.

Public Static

Private/Protected Members

Awake ()
Protected
GetModifiersOfType<T> ()
Protected Static
OnDestroy ()
Protected
OnDisable ()

Removes this modifier from list of active modifiers.

Protected
OnEnable ()

Adds this modifier to list of active modifiers.

Protected
OnUpgradeSerializedData (version, unityThread)

Handle serialization backwards compatibility.

Protected
Reset ()

Handle serialization backwards compatibility.

Protected
uniqueID

Unique persistent ID for this component, used for serialization.

Protected
usedIDs

Maps persistent IDs to the component that uses it.

Protected Static