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

NameDescription
fromThe component the wire originates from
toThe component the wire terminates at
fromTerminalThe terminal on
toTerminalThe terminal on