Skip to content

ECS Framework API v2.2.11


ECS Framework API / SceneMigrationFunction

Type Alias: SceneMigrationFunction()

SceneMigrationFunction = (scene, fromVersion, toVersion) => SerializedScene

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

场景迁移函数

Parameters

scene

SerializedScene

fromVersion

number

toVersion

number

Returns

SerializedScene

Released under the MIT License.