Skip to content

ECS Framework API v2.2.11


ECS Framework API / ComponentMigrationFunction

Type Alias: ComponentMigrationFunction()

ComponentMigrationFunction = (data, fromVersion, toVersion) => any

Defined in: packages/core/src/ECS/Serialization/VersionMigration.ts:13

组件迁移函数

Parameters

data

any

fromVersion

number

toVersion

number

Returns

any

Released under the MIT License.