Derive Macro amethyst_derive::PrefabData

source ·
#[derive(PrefabData)]
{
    // Attributes available to this derive:
    #[prefab]
}
Expand description

Deriving a Prefab requires that amethyst::ecs::Entity and amethyst:assets::{PrefabData, PrefabError, ProgressCounter} are imported and visible in the current scope. This is due to how Rust macros work.