Class NodeLink3 Extends GraphModifier

Public

Connects two TriangleMeshNodes (recast/navmesh graphs) as if they had shared an edge.

Note

Usually you do not want to use this type of link, you want to use NodeLink2 or NodeLink (sorry for the not so descriptive names).

Public Methods

Apply (forceNewCheck)
Public
InternalOnPostScan ()
Public
OnDrawGizmos ()
Public
OnDrawGizmos (selected)
Public
OnDrawGizmosSelected ()
Public
OnGraphsPostUpdate ()

Called after graphs have been updated using GraphUpdateObjects.

Public
OnPostScan ()

Called right after all graphs have been scanned.

Public

Public Static Methods

GetNodeLink (node)

Public Variables

costFactor

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

Public
end

End position of the link.

Public
EndNode
Public
EndTransform
Public
oneWay

Make a one-way connection.

Public
StartNode
Public
StartTransform
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
clamped1
Private
clamped2
Private
connectedNode1
Private
connectedNode2
Private
ContextApplyForce ()
Private
endNode
Private
GetModifiersOfType< T > ()
Protected Static
GizmosColor
Private Static Readonly
GizmosColorSelected
Private Static Readonly
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
postScanCalled
Private
reference
Protected Static
RemoveConnections (node)
Private
Reset ()

Handle serialization backwards compatibility.

Protected
startNode
Private
uniqueID

Unique persistent ID for this component, used for serialization.

Protected
usedIDs

Maps persistent IDs to the component that uses it.

Protected Static