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
DrawGizmos ()
Public
InternalOnPostScan ()
Public
OnGraphsPostUpdateBeforeAreaRecalculation ()

Called after graphs have been updated.

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
oneWay

Make a one-way connection.

Public

Inherited Public Members

EventType

GraphModifier event type.

Public
FindAllModifiers ()
Public Static
OnGraphsPostUpdate ()

Called after graphs have been updated using GraphUpdateObjects or navmesh cutting.

Public
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
OnPostGraphLoad ()

Called after a graph has been deserialized and 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
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