public NodeConnectionPoint(NodeBase iNode, NodeConnectionPointType iType, Action <NodeConnectionPoint> OnClickConnectionPoint) { this.Node = iNode; this.Type = iType; this.OnClickConnectionPoint = OnClickConnectionPoint; SetStyle(); ConnectionPointRect = new Rect(0, 0, 10f, 10f); }
public void Rebuild(NodeBase iNode, NodeConnectionPointType iType, Action <NodeConnectionPoint> OnClickConnectionPoint) { this.Node = iNode; this.Type = iType; this.OnClickConnectionPoint = OnClickConnectionPoint; }