[−][src]Derive Macro amethyst_derive::PrefabData
#[derive(PrefabData)] { // Attributes available to this derive: #[prefab] }
Deriving a Prefab
requires that amethyst::ecs::Entity
,
amethyst:assets::{PrefabData, ProgressCounter}
and
amethyst::error::Error
are imported and visible in the current scope. This
is due to how Rust macros work.