Declared in PowerBus
Declaration
bool WireExists(
UniverseObject from,
UniverseObject to,
TerminalType fromTerminal,
TerminalType toTerminal
);Description
Returns whether a wire connection exists between two components on the specified terminals.
Parameters
| Name | Description |
|---|---|
| from | The component the wire originates from |
| to | The component the wire terminates at |
| fromTerminal | The terminal on |
| toTerminal | The terminal on |