public void ConnectionAddedAction(IConnectorManager manager) { _pairedManager = manager as ValueConnectionManager; if (_connectorType is ConnectorType.Output && manager is ValueConnectionManager valConnection) { valConnection.LaminarValue.SetDependency(LaminarValue); } }
public void ConnectionRemovedAction(IConnectorManager manager) { _pairedManager = null; if (_connectorType is ConnectorType.Output && manager is ValueConnectionManager valConnection) { valConnection.LaminarValue.RemoveDependency <object>(); } }