private LogicCircuitNetwork GetNetwork() { LogicPorts component = GetComponent <LogicPorts>(); int portCell = component.GetPortCell(PORT_ID); LogicCircuitManager logicCircuitManager = Game.Instance.logicCircuitManager; return(logicCircuitManager.GetNetworkForCell(portCell)); }