public void PullValue(NodeDispatcher dispatcher) { if (dispatcher == Source.Dispatcher) { object value; if (!_values.TryTake(out value)) { value = SourcePin.GetValue(); } TargetPin.SetValue(value); } else { TargetPin.SetValue(_values.Take()); } }
public CompositeNode(NodeDispatcher dispatcher) { Dispatcher = dispatcher; }