NovaECS - v1.0.11
    Preparing search index...

    Interface ComponentType<T>

    Component type with stable numeric ID and constructor 具有稳定数字ID和构造函数的组件类型

    interface ComponentType<T> {
        ctor: ComponentCtor<T>;
        id: number;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    Component constructor 组件构造函数

    id: number

    Stable numeric type identifier 稳定数字类型ID