Table of Contents

Method WirePort

Namespace
GrindFest.Editor
Assembly
GrindFest.dll

WirePort(PlannerRuleBase, string, PlannerRuleBase, string)

Connect an output port on fromNode to an input port on toNode by field name. Uses reflection to find the NodePortBase fields.

protected void WirePort(PlannerRuleBase fromNode, string fromFieldName, PlannerRuleBase toNode, string toFieldName)

Parameters

fromNode PlannerRuleBase
fromFieldName string
toNode PlannerRuleBase
toFieldName string

WirePort(PlannerRuleBase, string, PlannerFunctionNode, string)

Connect to a PlannerFunctionNode's dynamic port by display name. Function nodes have Port0..Port9 (FunctionPortRef) instead of named fields.

protected void WirePort(PlannerRuleBase fromNode, string fromFieldName, PlannerFunctionNode fnNode, string portDisplayName)

Parameters

fromNode PlannerRuleBase
fromFieldName string
fnNode PlannerFunctionNode
portDisplayName string