Taos API Reference
    Preparing search index...

    Interface SignalConnectionDoc

    An editor-authored signal connection carried on the emitting component's doc: when the Signal property named signal on that component emits, call method on the first component of doc-type targetType on the GameObject whose persistent id is target, forwarding the emit arguments. Wired after instantiation (when every object exists) by wireSignalConnections — see signal_connections.ts.

    interface SignalConnectionDoc {
        signal: string;
        target: string;
        targetType: string;
        method: string;
    }
    Index

    Properties

    signal: string

    Name of the Signal property on the emitting component (e.g. 'died').

    target: string

    Persistent id of the target GameObject (may be the emitter's own object).

    targetType: string

    Doc type of the target component; the first match on the object wins.

    method: string

    Method name invoked on the target component with the emit arguments.