Module core Copy item path Source asset Systems and resources for handling script assets and events bindings Abstractions to help with creating bindings between bevy and scripting languages. commands Commands for creating, updating and deleting scripts context Traits and types for managing script contexts. docgen Documentation generation for scripting languages. error Errors that can occur when interacting with the scripting system event Event handlers and event types for scripting. extractors Systems which are used to extract the various resources and components used by BMS. handler Contains the logic for handling script callback events reflection_extensions Various utility functions for working with reflection types. runtime “Runtime” here refers to the execution evironment of scripts. This might be the VM executing bytecode or the interpreter executing source code.
The important thing is that there is only one runtime which is used to execute all scripts of a particular type or context
. script Script related types, functions and components callback_labels Creates a set of callback labels downcast_into_value Downcasts a reference into a value of a given type or returns an error if the downcast fails. match_by_type a utility for matching types by their std::any::TypeId
no_type_dependencies A macro for implementing GetTypeDependencies
for types with no type dependencies. self_type_dependency_only A macro for implementing GetTypeDependencies
for types that only depend on themselves. with_access_read A macro for claiming access to a value for reading with_access_write A macro for claiming access to a value for writing with_global_access A macro for claiming global access ScriptingPlugin Bevy plugin enabling scripting within the bevy mod scripting framework ScriptingSystemSet Labels for various BMS systems AddRuntimeInitializer Trait for adding a runtime initializer to an app ConfigureScriptPlugin Utility trait for configuring all scripting plugins. IntoScriptPluginParams Types which act like scripting plugins, by selecting a context and runtime
Each individual combination of context and runtime has specific infrastructure built for it and does not interact with other scripting plugins