book/src/appendices/b_migration_notes/specs_migration.md
Specs migration
Quick fix:
use amethyst::ecs::WorldExt to imports.world.add_resource with world.insert.use amethyst::ecs::WorldExt; for world.read_resource.\bResources\b with World. Check for false replacements.world.res with world.\bres\b with world.shred-derive is re-exported by amethyst. Migration steps:
shred-derive from Cargo.toml.use amethyst::ecs::SystemData from imports (if present).use amethyst::shred::{ResourceId, SystemData} to imports.PrefabLoaderSystem is initialized by PrefabLoaderSystemDesc.
Quick fix:
PrefabLoaderSystem::<([A-Za-z]+)>::default\(\),PrefabLoaderSystemDesc::<\1>::default()with with with_system_desc when adding to GameData.GltfSceneLoaderSystem is initialized by GltfSceneLoaderSystemDesc.
Quick fix:
GltfSceneLoaderSystem::<([A-Za-z]+)>::default\(\),GltfSceneLoaderSystemDesc::<\1>::default()with with with_system_desc when adding to GameData.AmethystApplication::with_setup runs the function before the dispatcher.
Quick fix:
with_setup,with_effectRenamed UiTransformBuilder to UiTransformData.
Renamed UiTextBuilder to UiTextData.
Renamed UiButtonBuilder to UiButtonData.