Skip to content

ECS Framework API v2.2.13


ECS Framework API / SerializableOptions

Interface: SerializableOptions

Defined in: packages/core/src/ECS/Serialization/SerializationDecorators.ts:19

可序列化配置选项

Properties

version

version: number

Defined in: packages/core/src/ECS/Serialization/SerializationDecorators.ts:23

序列化版本号,用于数据迁移


typeId?

optional typeId: string

Defined in: packages/core/src/ECS/Serialization/SerializationDecorators.ts:28

组件类型标识符(可选,默认使用类名)

Released under the MIT License.