Crate bevy_auto_plugin_proc_macros

Crate bevy_auto_plugin_proc_macros 

Source

Attribute Macros§

auto_add_message
Automatically adds a message type to the Bevy App. Automatically registers an message to be added to the app.
auto_add_observer
Automatically adds the fn as a proc_attributes observer to bevy app. (See below for additional options) Automatically adds a global observer
auto_add_plugin
Automatically adds the plugin as a sub-plugin to bevy app. (See below for additional options) Automatically registers a system to be added to the app.
auto_add_system
Automatically adds the fn as a system for bevy app. (See below for additional options) Automatically registers a system to be added to the app.
auto_bind_plugin
Automatically binds plugin = _ to every auto_* attribute below it Automatically sets plugin = _ for all #[auto_*(..)] macros below it
auto_component
Automatically registers item as Component for bevy app. (See below for additional options) Automatically registers a component to be added to the app.
auto_configure_system_set
Automatically configures a SystemSet. Automatically configures a SystemSet for the app.
auto_event
Automatically registers item as Event for bevy app. (See below for additional options) Automatically registers an event to be added to the app.
auto_init_resource
Automatically inserts a resource in the Bevy App. Automatically registers a resource to be initialized in the app.
auto_init_state
Automatically initializes a State in the Bevy App. Automatically initializes a state in the app.
auto_init_sub_state
Automatically initializes a SubState in the Bevy App. Automatically initializes a sub state in the app.
auto_insert_resource
Automatically inserts a resource in the Bevy App. Automatically inserts a resource with a specific value into the app.
auto_message
Automatically registers item as Message for bevy app. (See below for additional options) Automatically registers an event to be added to the app.
auto_name
Automatically registers a required component Name with a value using the concrete name of the item. Automatically adds a Name component to entities with this component.
auto_observer
Automatically adds proc_attributes observer to bevy app. (See below for additional options) Automatically adds a global observer
auto_plugin
Attaches to a fn and injects a call to the initialization function that automatically registering types, events, and resources in the App. Attribute to mark the build function for the plugin, or impl Plugin trait build method for injection
auto_register_state_type
Automatically registers item as States for bevy app. (See below for additional options) Automatically registers State<T> and NextState<T> types with the app.
auto_register_type
Automatically registers a type with the Bevy App. Automatically registers a type with the app’s type registry.
auto_resource
Automatically registers item as Resource for bevy app. (See below for additional options) Automatically registers a resource to be added to the app.
auto_run_on_build
Automatically binds plugin = _ to every auto_* attribute below it Automatically runs the fn(&mut App) -> () when the Plugin::build is called.
auto_states
Automatically registers item as States for bevy app. (See below for additional options) Automatically initializes a state in the app.
auto_system
Automatically adds the fn as a system for bevy app. (See below for additional options) Automatically registers a system to be added to the app.

Derive Macros§

AutoPlugin
Derives AutoPlugin which generates the initialization function that automatically registering types, events, and resources in the App. A derive macro that implements Plugin for a struct and collects registered components, events, resources, and systems.