NovaECS - v1.0.11
    Preparing search index...

    Interface Added

    Event for component addition (non-existent → existent) 组件添加事件(不存在→存在) Note: Replacing existing component of same type does not trigger Added 注意:替换同类型的现有组件不会触发Added

    interface Added {
        e: number;
        typeId: number;
        value: unknown;
    }
    Index

    Properties

    Properties

    e: number

    Entity that received the component 接收组件的实体

    typeId: number

    Component type ID 组件类型ID

    value: unknown

    New component value 新组件值