public NodeEditorLinks(ConstellationScript _constellationScript, bool _isInstance, IGUI _gui, NodeConfig _nodeConfig, LinkAdded _onLinkAdded, LinkRemoved _onLinkRemoved, NodeEditorPanel _nodeEditorPannel, IUndoable _undoable) { OnLinkAdded += _onLinkAdded; OnLinkRemoved += _onLinkRemoved; undoable = _undoable; constellationScript = _constellationScript; isInstance = _isInstance; GUI = _gui; LinksView = new LinkView(GUI, _nodeEditorPannel, constellationScript, _nodeConfig, linkRemoved); }
void Setup() { nodeConfig = new NodeConfig(); LoadConstellation(); LinksView = new LinkView(GUI, this, constellationScript, nodeConfig); }