Skip to content

ECS Framework API v2.2.11


ECS Framework API / MigrationFunction

Type Alias: MigrationFunction()

MigrationFunction = (oldVersion, newVersion, data) => any

Defined in: packages/core/src/ECS/Serialization/SceneSerializer.ts:29

版本迁移函数

Parameters

oldVersion

number

newVersion

number

data

any

Returns

any

Released under the MIT License.