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

EndNode
Public
EndTransform
Public
StartNode
Public
StartTransform
Public
costFactor

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

Public
end

End position of the link.

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
ContextApplyForce ()
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
RemoveConnections (node)
Private
Reset ()

Handle serialization backwards compatibility.

Protected
UpgradeSerializedData (isUnityThread)
Protected
clamped1
Private
clamped2
Private
connectedNode1
Private
connectedNode2
Private
endNode
Private
postScanCalled
Private
reference
Protected Static
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